-
Install
yarn
-
Install
turbo
See https://turbo.build/repo/docs/installing. The
npm
method seems to be more consistent.
Alternatively, you can use a GitHub Codespace.
Postman
, so you can use the collection to interact with the api
.
-
Install project dependencies
yarn
-
Create and seed the database
turbo migrate
If needed, you can recreate the database and re-seed by using:
turbo migrate --force
-
Start the development environment:
turbo dev
This is a turbo monorepo. There are two packages on which will you be working on:
At any moment you can run turbo <COMMAND>
. The available commands are:
dev
: starts the development serverbuild
: builds the projecttype-check
: checks the project types with TSClint
: lints the project with ESLintformat-check
: checks the code format with Prettierformat
: formats the code with Prettiermigrate
: creates and seeds the database
Another useful tool is Prisma Studio:
// run it from `packages/api`
npx prisma studio
- you need to share your entire screen
- you are allowed to ask as many questions as you'd like
- you are allowed to use any resource you'd normally use during regular work such as Google, StackOverflow, AI, etc