Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sefatanam/fullstack-app

Nx workspace with Angular, Prisma, NestJS Docker and Railway.
https://github.com/sefatanam/fullstack-app

angular cypress docker jest nestjs nx-workspace postgresql prisma prisma-studio railway rest-api sqlite vercel

Last synced: 23 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Fullstack App by Nx - Angular, NestJS & Prisma.
✨ **This workspace has been generated by [Nx, a Smart, fast and extensible build system.](https://nx.dev)** ✨

### 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](https://www.prisma.io/) 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)_