Code Monkey home page Code Monkey logo

weather-journal's Introduction

Weather Journal App

This project requires you to create an asynchronous web app that uses Web API and user data to dynamically update the UI for a Weather-Journal App.

How it works

  1. The app uses the OpenWeatherMap API to fetch weather data for a specific location based on its latitude and longitude.
  2. Users can enter their zip code and how they are feeling in the provided input fields.
  3. When the "Generate" button is clicked, the app makes a POST request to the server with the weather data and user input.
  4. The server stores the data in a projectData object and sends a success message back to the client.
  5. The app then updates the UI with the retrieved data from the server.

Techniques That Use

  • Node.js
  • Express.js
  • HTML
  • CSS
  • JavaScript

Prerequisites

To run this app locally, you need to have the following installed on your machine:

Installation

  • Clone this repository to your local machine using: git clone [email protected]:yousefkullab/weather-journal.git.
  • Navigate to the project folder: cd weather-journal.
  • Install the required npm packages: npm install express body-parser cors.
  • Start the server: node server.js.
  • Open your web browser and go to http://localhost:3000 to access the app.

API Key

To use the OpenWeatherMap API, you need to sign up for an API key. Replace 'YOUR_API_KEY' with your actual API key in the app.js file.

License

© Yousef Kullab

weather-journal's People

Contributors

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