Skip to content

DiverseSolutions/ard-mini-exchange-api

Repository files navigation

NestJS Backend API

NestJS Backend Template

Tech Stack

  • NodeJS 18.13
  • NestJS 9
  • Prisma
  • MySQL 8
  • Docker

Features

  • NestJS Monolithic Application
  • NestJS + Prisma Integration
  • JWT Authentication / Authorization
  • OpenAPI Documentation

References

Documentation

Run in dev mode and open http://localhost:3000/docs

Development

cp .env.dev .env

docker-compose up

npx prisma db push

npx prisma generate

yarn start:dev

Sync database to Prisma

npx prisma db pull

Production

yarn build

yarn start:prod

How this project was setup?

nvm use 18

npm i -g @nestjs/cli

nest new nest-backend-template

cd nest-backend-template

yarn add @nestjs/config

nest g module auth

nest g controller auth

nest g service auth

nest g module users

nest g service users

yarn add @nestjs/jwt

and couple more commands and boilerplates

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published