Skip to content

Latest commit

 

History

History
69 lines (40 loc) · 758 Bytes

README.md

File metadata and controls

69 lines (40 loc) · 758 Bytes

STUDENT RANT API

installation

yarn install

test

e2e test

yarn test e2e

unit test

yarn test unit

run the unit test without using docker yarn coverage:unit

run both e2e and unit test together

yarn test

lint

yarn lint

lint fix

yarn lint:fix

generate html documentation

yarn doc

pushing documentation to upstream

$ cd html-doc
$ git push origin

start up mongodb database

$ yarn docker:up
$ yarn db:start

stop mongodb database

$ yarn db:stop

purge mongodb database (deletes the entire database)

$ yarn db:drop

start local server

yarn start:dev

start local server in development mode

yarn start:dev:watch