Skip to content

sjmitch-git/weatherbe

Repository files navigation

Weather Be

Installation

  1. Clone the repository:

    git clone https://github.com/sjmitch-git/weatherbe.git
  2. Navigate to the project directory:

    cd weatherbe
  3. Install dependencies:

    npm install

    Or, if you use Yarn:

    yarn install

Environment Variables

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.

Running the Project

Start the development server:

npm run dev

Or, if you use Yarn:

yarn dev

The app will be available at http://localhost:3000.

Viewing the Live Site

You can view the live version of the app at: https://weatherbe.vercel.app/

TO DO:

  • 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.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published