-
Clone the repo
git clone https://github.com/Emmanuel0705/sunsniffer.git
- Open - src/
- Update mongo.env content (OPTIONAL)
- Rename sample.env to .env and update the content(REQUIRED),
NOTE:
- Leave DATABASE_URL as it is (do not change the value).
- Set MONGODB_USERNAME to the value of MONGO_INITDB_ROOT_USERNAME,
- MONGODB_PASSWORD to the value of MONGO_INITDB_ROOT_PASSWORD and
- MONGODB_DATABASE to the value of MONGO_INITDB_DATABASE
- open - src/seeding/
- Update db.env content accordingly
-
RUN
docker-compose up -d --build
-
RUN
docker logs vaccine-app -f
http://localhost:4000/api/v1/vaccines/vaccine-summary?c=FR&dateFrom=2021-W10&dateTo=2021-W53&range=5