This is a monorepo -turborepo to be exact- uses pnpm as a package manager. It includes the following packages/apps:
-
backend
: an express app -
frontend
:a vite/react app -
eslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
) -
tsconfig
:tsconfig.json
s used throughout the monorepo -
Frontend port: 3000
-
Backend port :3001
Install dependencies
pnpm install
Generate prisma client
pnpm migrate:dev
Run all apps in dev mode
pnpm dev
If you want to develop all apps and packages inside a docker container instead, run the following command:
docker-compose up -d
From there you can use vscode remote extension to connent to the container.
To build all apps and packages, run the following command:
pnpm build