-
Clone the repository:
git clone https://github.com/sjmitch-git/weatherbe.git
-
Navigate to the project directory:
cd weatherbe
-
Install dependencies:
npm install
Or, if you use Yarn:
yarn install
Create a .env
file in the root of the project and add the following environment variables:
NEXT_PUBLIC_API_URL=http://localhost:3000
OWM_API_URL=https://api.openweathermap.org/data/2.5
OWM_TOKEN=your_openweathermap_api_key
Replace your_openweathermap_api_key
with your actual OpenWeatherMap API key.
Start the development server:
npm run dev
Or, if you use Yarn:
yarn dev
The app will be available at http://localhost:3000.
You can view the live version of the app at: https://weatherbe.vercel.app/
- Create component tests using Jest.
- Create end-to-end (e2e) tests using Cypress.
- Add autocomplete functionality for city search.
- Add charts to display weather data visually.
- Add ESLint for consistent code quality and style enforcement.