This is a Next.js project that uses Chakra UI for UI components. Below are the steps to set up and run the project.
Make sure you have the following installed:
To get started with the project, follow the steps below:
Run the following command to install the necessary dependencies:
npm install
To start the development server, use the following command:
npm run dev
After running the command, the app should be available at http://localhost:3000.
To build the project for production, use the following command:
npm run build
This will generate an optimized build in the .next directory.
Create a (.env.local) file in the root of the project. Add your environment variables to this file.
API_WEATHER_KEY: {{your_key}} //get from openweather api, or you can find the key in the document provided with the code