/fullstack-app

Nx workspace with Angular, Prisma, NestJS Docker and Railway.

Primary LanguageTypeScript

Fullstack App by Nx - Angular, NestJS & Prisma.

This workspace has been generated by Nx, a Smart, fast and extensible build system.

Before start

  • Install node dependencies by npm install
  • For running backend, generate type via npx prisma generate

How to run

  1. In Development

    • For running backend - npm run backend-dev
    • For running frontend - npm run frontend-dev
    • For running both - npm run dev
  2. In Production

    • Use docker ( note: current docker file setup for production use)

How to update db schema

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)