- NVM to set up the node version used by the app.
- Yarn to manage node dependencies.
- Docker Compose to run backing services.
- Install node dependencies.
- Run
nvm use
to configure the node version used by the app. - Run
yarn install
to install all node dependencies.
- Run
- Generate or copy .env files
Do so on the
root
andprisma
folders following the structure of bothexample.env
files. - Set up the database and run schema migrations.
- Run
docker-compose up -d
to bring up the database. - Run
npx prisma db push
to run all schema migrations. - Run
npx prisma db seed
to seed the db.
- Run
- Run
nvm use
to configure the node version used by the app. - Run
docker-compose up -d
to bring up the backing services. - Run
yarn dev
to start the app at http://localhost:3000.