/prisma/
contains prisma schema, seed data and migrations/packages/api/
contains the Nest.js package/packages/api/src/
contains different module for the API package- Unit test co-exist with the main code and contain
.spec
as part of their name. For example if a file ismovie.controller.ts
, then relevant unit test would bemovie.controller.spec.ts
. - All E2E tests are in
/packages/api-e2e/
- Use
nx
to create a monorepo. This will help the project down the road. We will also be able to shared interfaces between the frontend and backend easily - Avoided
yarn
after extensive testing for now until it's more stable and robust. - Split
quote
andmovie
under their own module to be future-proof - Used
typescript
to avoid future bugs.