Starter template for 😻 NestJS, Prisma 2 and GraphQL.
- 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
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