Skip to content

Latest commit

 

History

History
130 lines (89 loc) · 2.63 KB

README.md

File metadata and controls

130 lines (89 loc) · 2.63 KB

Nestjs Prisma Template

This is an opinionated template for Nestjs prisma restful projects.

Features

Guide

Development

Init environment variables:

cp .env.example .env

Install dependencies:

pnpm install

Generate Prisma client:

pnpm run prisma:migrate

Migrate database:

pnpm run prisma:migrate:dev

Run the app:

pnpm run start:dev

Deployment with docker

Docker:

docker-compose build

start docker-compose

docker-compose up -d

In Node.js Environment:

pnpm install
pnpm run build
pnpm run start:prod

Migrate database

Development:

pnpm run prisma:migrate:dev

Production:

pnpm run prisma:migrate:deploy

Overview

swagger

swagger

opentelemetry

opentelemetry

prometheus

prom

alerting alert

k8s k8s

ingress ingress

Acknowledgements