/awesome-nest-rbac-graphql

Awesome NestJS ⭐️ Typescript 💪, Postgres 🗄, Prisma 😜, GraphQL 🤩 Boilerplate

Primary LanguageTypeScript

Awesome Nest.js Auth RBAC GraphQL Postgre Prisma Boilerplate

Getting started

# Clone the repository or click "Use this template"
$ git clone https://github.com/vlbras/awesome-nest-rbac-graphql my-awesome-app
$ cd my-awesome-app

# Install packages
$ pnpm install

Databases setup

# configure .env
$ cp .env.example .env

# run local postres and redis
$ docker-compose up -d

# generate prisma client
$ npx prisma generate

# run migrations
$ npx prisma migrate dev

# run db seed
$ npx prisma db seed

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev