Clone this repository. Then run the following commands (pnpm is needed) , which will setup the repository:
pnpm install
Change the directory to the shared project and run pnpm dev
.
Change the directory to the server project and run pnpm dev
.
The server needs an environment file. The .env
file is in the root directory of the server located.
The file needs the following entries:
MONGODB_ADDRESS=mongodb://localhost
DATABASE_NAME=gms
MONGODB_URI=${MONGODB_ADDRESS}/${DATABASE_NAME}
JWT_SECRET=secret
PORT=3001
Change the directory to the client project and run pnpm dev
.
Change the directory to the components project and run pnpm dev
.