- Ask a teammate to send you a .env.dev file and copy .env.dev to the project folder.
- Make sure you have
npmandnodeinstalled (reference: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm). - Install
nvmandyarn(reference: https://gist.github.com/nijicha/e5615548181676873118df79953cb709). - Change the version of node to 11 using
nvm use 11. - Install the dependencies using
npm install --dev.
- Create a postgres 9.4 docker container.
- Set
POSTGRES_URIin .env.dev according to container's access URL. - Create
TIANCAIdastabase in postgres using TablePlus.- Set host to be 127.0.0.1
- Set port to be the the one that configured in container's access URL
- Run
npm run devoryarn dev. - Api runs on localhost:1337.
- Ask a teammate give you the latest copy of postman collections.
- Or go ahead to set up the frontend dashboard and test via the GUI.