✨ This workspace has been generated by Nx, a Smart, fast and extensible build system. ✨
- Install node dependencies by
npm install
- For running backend, generate type via
npx prisma generate
-
In Development
- For running backend -
npm run backend-dev
- For running frontend -
npm run frontend-dev
- For running both -
npm run dev
- For running backend -
-
In Production
- Use docker ( note: current docker file setup for production use)
I used prisma, so checkout Prisma for more info. For basic usage you can update schema and update database by doing this command, npx prisma migrate dev --name "YOUR_MIGRATE_MESSAGE_WILL_BE_HERE"
And for generata type
from schema run,
npx prisma generate
(More Detail will be added later)