Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 631 Bytes

File metadata and controls

56 lines (39 loc) · 631 Bytes

cryptomath-api-articles

Articles microservice for storing and retrieving data on user articles.

Installation

$ npm install

Prisma migrate

# development
$ npm run migrate:dev

# production mode
$ npm run migrate:deploy

Generate prisma client

$ npm run prisma:generate

Seeding the database

$ npm run seed

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