Skip to content

gaskeo/covis

Repository files navigation

Photo gallery

main page screenshot

search page screenshot

map page screenshot

Site with information about COVID-19. This site gets data from yandex API.

You can visit covis here.

The site was written on react with recharts library.

Running

From sources

To create deployment version of the project:

  1. Download and install node.js
  2. Run npm install in project directory
  3. Build site with npm run build command
  4. Serve build/ directory in your server (for example, you can use Nginx)

Notice: covis will try to fetch all static from the build/covis/static directory because of the canonical URL. If you configure your server by the root URL (for example, yoursite.com/) covis will not be able to find static files.

You can change it by passing / in homepage field in package.json:

{
  ...
  "homepage": "/",
  ...
}