did-dashboard-backend

How to run

MariaDB install (for Test/Local)

$ docker run -d \
    -p 3306:3306 \
    -e MYSQL_USER=root \
    -e MYSQL_ROOT_PASSWORD=root \
    -e MYSQL_DATABASE=did_dashboard \
    --name did-mariadb \
    mariadb \
    --character-set-server=utf8 \
    --collation-server=utf8_general_ci \
    --default-time-zone=+09:00

Test

$ npm test

Install Rest Client Plugin & Test

  • Local Server 실행 후, http 폴더 내부의 *.http 파일에서 Send Request를 통해 각 API 실행 가능

Run Local Server

$ npm start

or

$ npm run start:local

Run Development Server

$ npm run start:dev

Run Production Server

$ npm run start:prod

Reference