/corona

Corona tracker using NextJS and Mapbox

Primary LanguageJavaScriptMIT LicenseMIT

This is website is using Next.js and TailwindCSS.

Getting Started

First, install dependencies:

yarn install

or

npm install

Then, set environment variables:

MYDOMAIN=https://yourdomain.com
COVIDAPI=https://disease.sh/v3/covid-19
MAPBOX_TOKEN="yourmapboxapikey"

Second, run the development server:

yarn dev

or

npm run dev

Open http://localhost:3000 with your browser to see the result.

Deploy

If you want to deploy it, you can use vercel.

  • Connect your github
  • Build a new project
  • Connect the template repository
  • Auto deployment