- git clone $repository
- yum install gcc-c++
- npm ci
- copy correct
.env
file - pm2 start src/index.js (change the process port and test with admin UI)
- db schema migration:
user
andecpartner
- point web address
- frontend UI -> DomainName:8088 -> aws:elb -> backend process
Debugging 常用的 mongo db query --- 看最後一筆的 API result