This is a Next.js project bootstrapped with create-next-app.
This project is a starting platform for a Next.js project that pulls data from an external API and caches the result. The project includes a responsive Bootstrap 5 template.
The Project uses yarn zero install (Plug'n'Play)
🏠 Homepage
tbd
- Node.js >= 16
- Yarn > 3
Yarn installs the suitable swc binary for @next/swc.
yarnYou can set the following environment variables:
| NAME | required | Comment |
|---|---|---|
API_KEY | yes | You can get your own free OpenWeatherApi key on this website: https://home.openweathermap.org/users/sign_up |
You can either set the environment variables or use the .env.local file: Make your own copy of the .env.local file and specify the .env.local and add the keys.
cp ./.env.local_default ./.env.localLearn more about the OpenWeatherMap API: https://openweathermap.org/api
First, run the development server:
yarn devOpen http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.
