Skip to content

ngmitam/zuji

Repository files navigation

Description

Backend for zuju app

Installation

$ npm install

Environments

.env

DB_USER=zuju
DB_PASS=password
DB_NAME=zuju

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

API docs

After running the app, the swagger document would be on this URI:

http://localhost:3000/api_docs/

Test

Example/Test Sql data in data.sql file. You should import it to your database before running the test.

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

Zuji assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors