Skip to content

GraphQL API with Nest, Prisma, TypeScript, JWT Authentication

Notifications You must be signed in to change notification settings

temadev/api-nest

Repository files navigation

GraphQL API with Nest, Prisma, TypeScript, JWT Authentication

Installation

Install dependencies:

$ yarn
$ mv .env-default .env

Create prisma service at app.prisma.io and save http endpoint data in .env file as PRISMA_ENDPOINT. Then generate and deploy your schema:

$ yarn prisma generate
$ yarn prisma deploy

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# test coverage
$ yarn test:cov

About

GraphQL API with Nest, Prisma, TypeScript, JWT Authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published