- Mongodb (How install in Ubuntu)
- Node (version: >8.0, recommend to use latest: 8.9)
- pm2
Create .env
file (example in .env.defaults
) and install dependencies:
$ cp .env.defaults .env
$ yarn global add pm2
$ yarn install
$ yarn run migrate
Run application with follow command (run server):
$ yarn start # run server
Go to /docs/api-doc.html
You can import postman collection for requests to API
docs/Twitter API.postman_collection.json
http://localhost:8085/api-doc.html.
Test users:
- admin@gmail.com 111
- candy@gmail.com 123