Git Product home page Git Product logo

csci39548-express-weather's Introduction

express-weather

A simple single-page weather website built with Node.js and Express.js.

Features

  • Fetches current weather data based on ZIP code.
  • Displays weather information in a user-friendly format.

Prerequisites

  • Node.js installed on your machine.
  • An API key from OpenWeatherMap. Either use the one provided to you via BlackBoard or Sign up here to get one.

Installation

  1. Clone the repository:

    git clone https://github.com/deybyr647/CSCI39548-express-weather
    cd weather-website
  2. Install the dependencies:

    npm install
  3. Create a .env file in the root directory and add your OpenWeatherMap API key:

    OPENWEATHERMAP_API_KEY=your_openweathermap_api_key

Usage

  1. Start the server:

    npm start
  2. Open your browser and navigate to http://localhost:3000.

Project Structure

express-weather/
├── bin/
│   └── www.js
├── public/
│   ├── images/
│   ├── javascripts/
|   │   └── main.js
│   └── stylesheets/
|       └── style.css
├── routes/
│   └── index.js
│   └── weather.js
├── util/
│   └── owm.js
├── views/
│   ├── error.ejs
│   ├── index.ejs
├── .env
|── .gitignore
├── app.js
├── package.json
└── README.md

csci39548-express-weather's People

Contributors

deybyr647 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.