Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Latest commit

 

History

History
47 lines (35 loc) · 1.02 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.02 KB

知忽悠 Zhihuyou Server

Installation

$ yarn install

Running the app

# development
$ yarn dev

# migrate db
$ yarn migrate:dev

# production mode
$ yarn start:prod

Visit http://localhost:$port/api to see OpenAPI docs.

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

Duplicate .env

cp .env.example .env
cp .env.example .test.env