C-Alexis4414 / Links-to-Experts-Back

0 stars 1 forks source link

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

<p align="center">

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

Prisma command

# init schema.prisma
npx prisma init

# create migration 
npx prisma migrate dev \--name \<migration name\>

# generate client to interact with database
npx prisme generate

# pull db model data from database
npx prisma db pull

# push db model data to databe
npx prisma db push

# reset data base and apply all migration
npx prisma migrate reset

# load seed
npx prisma db seed