This repository, structured as a Yarn workspace, contains three main parts: the app (frontend), the server (backend), and the contracts (blockchain). This guide will help you set up and run each part of the project from the root directory.
Before you begin, ensure you have the following installed:
Clone the repository to your local machine:
git clone https://github.com/kaspotz/pics-or-it.git
cd pics-or-it
Install dependencies for all workspaces from the root directory:
yarn install
To start the app in development mode:
yarn app:dev
Open http://localhost:3000 to view the app in the browser.
To start the server:
yarn server:dev
-
Compile Contracts:
yarn contract:compile
-
Run Tests on Contracts:
yarn contract:test
-
Lint Code:
yarn lint
-
Format Code:
yarn format
- These commands should be run from the root directory of the project.
- For more specific details or troubleshooting, refer to the README files and documentation within each directory.