- ADD .env.local file (this file has only 1 environment var.)
- NEXT_PUBLIC_GOOGLE_MAP_KEY=XXXXXXX_GOOGLE_MAP_API_KEY_XXXXX
- yarn install
- yarn dev
- access to http://localhost:3000
- yarn build to imspect any error in build
- push code to Git repository
- sign in to vercel and import project
- ADD .env in https://vercel.com/[YOUR-VERCEL-ACCOUNT]/covidmap/settings/environment-variables
- see image below !
- enjoy !