Skip to content

Emmanuel0705/sunsniffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunsniffer Test

Installation

  1. Clone the repo

    git clone https://github.com/Emmanuel0705/sunsniffer.git

  1. 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

  1. open - src/seeding/
  • Update db.env content accordingly

  1. RUN

    docker-compose up -d --build
  2. RUN

    docker logs vaccine-app -f

Test the endpoint

URL Sample

http://localhost:4000/api/v1/vaccines/vaccine-summary?c=FR&dateFrom=2021-W10&dateTo=2021-W53&range=5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published