Run the following commands;
cp .env.example .env
nvm use
npm install
Run npm run api:docker
to build your api project, generate your prisma types and build your docker container.
To run your migrations you can run both by using npm run migrate:all
or individually npm run migrate:api
or npm run migrate:tests
Run nx serve cocktails
for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run nx client:test
or nx api:test
to run project tests.
Run nx graph
to see a diagram of the dependencies of the projects.