Skip to content

pedrolucasoliva/nest-prisma-graphql

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published