/bookmark-rest-api

This is just a simple bookmark backend using NestJS as framework

Primary LanguageTypeScript

Bookmark REST API

Description

This is just a simple bookmark backend using NestJS as framework.

Installation

$ yarn

Starting db (using docker-compose)

# development
$ yarn db:dev:up

# testing
$ yarn db:test:up

Running the migration

# development
$ yarn prisma:dev:deploy

# testing
$ yarn prisma:test:deploy

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Other scripts

See package.json

References