This is website is using Next.js and TailwindCSS.
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.
If you want to deploy it, you can use vercel.
- Connect your github
- Build a new project
- Connect the template repository
- Auto deployment