Skip to content

Simple crawler and REST Api that tracks corona cases in a desired country each time someone makes a GET request

License

Notifications You must be signed in to change notification settings

darklight147/covid-api

Repository files navigation

Welcome to covid-api 👋

Version License: MIT BUILD

Simple crawler and REST Api that tracks corona cases in desired country each time someone makes a GET request

Demo

Install

yarn install --frozen-lockfile

Usage

add a PORT and COUNTRY to the .example.env file and:

yarn start

Run tests

yarn start

Author

👤 Mohamed Belkamel

DOCKERIZING

sudo docker-compose -f docker-compose.prd.yaml up -d --scale api=2

This command creates a docker container and scales the api to two instances runs by default on PORTS 5054 and 5055, you can load-balance them with NGINX

Show your support

Give a ⭐️ if this project helped you!


Made with ❤️ by Mohamed Belkamel

About

Simple crawler and REST Api that tracks corona cases in a desired country each time someone makes a GET request

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published