This Turborepo includes the following packages/apps:
backend
: a Nest.js backend appfrontend
: a Next.js frontend appapi-client
: API client automatically generated frombackend
's Swagger specs. It should be used to perform API calls from thefrontend
projecteslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
Please see CONTRIBUTING.md for a guide on how to run the project locally.
You have 2 options to build production version of the app.
For both cases please make sure you filled ./apps/backend/.env
and ./apps/frontend/.env
files with variables you would like to use for production environment first.
- Now you can run it as a docker image by executing the following command:
yarn docker:production
- Or see how the build process setup in Github workflows
Learn more about the power of Turborepo: