The backend services and API for the Software Engineering Daily Android, iOS, and web front end.
- Install and run a local redis client
- Install and run a local mongo client
cp .env.local_example .env
npm install
oryarn install
npm start
oryarn start
- check package.json for other builds
- use curl or Postman to make requests
- view swagger api docs at HOST/api/docs
cp .env.docker_example .env
- Run
docker-compose up
- If dependencies are updated in package.json, run
docker-compose down
and thendocker-compose up --build
. This will remove the old container and rebuild the API image which installs the new dependencies.