Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 902 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 902 Bytes

Instructions

Starter template for 😻 NestJS, Prisma 2 and GraphQL.

Features

  • GraphQL w/ playground
  • Code-First w/ decorators
  • Prisma for database modelling, migration and type-safe access (Postgres, MySQL & MongoDB)
  • 🔐 JWT authentication w/ passport-jwt
  • 🔐 Simple Permission System using decorators and guards.
  • Sequence generator from database

Quick Setup

Clone and install depenencies:

yarn

then create Postgres DB (or setup yours at .env):

docker-compose -f docker-compose.db.yml up -d
# or
yarn docker:db

Then seed

yarn seed

Then rum at dev:

yarn start:dev