Giter Club home page Giter Club logo

online-sim's Introduction

Weather App Simulation

This project is designed to replicate what you might receive on the job. There won't be any guided instruction on what you'll need to do. We will only provide you with design specifications and technical requirements. Your mentor/instructor have also been asked to provide only minimal guidance. They can point you in the right direction, but cannot help you code. This project is a chance for you to combine and showcase the skills you've learned so far.

With this specification/requirement only structure, we believe this project will showcase what you can do as an individual. Because of this, we feel this project will be worth putting in your portfolio.

Good luck and work hard!

Color Palette & Font

Google Font - Nunito

Technical Requirements - Front-end

API

  • Go to https://www.wunderground.com/weather/api/ and click 'Sign up to get started'
  • Once you have signed in, go to your dashboard and click 'Key Settings'. Here is where you will generate a new API key
    • HINT: you will use http://api.wunderground.com/api/YOUR_API_KEY/forecast10day/q/${state}/${city}.json in your axios request to get the weather data.

Homepage

  • Recent Searches should be empty and the area where weather data by day is whould show 'Enter City'
  • User should be able to enter city, select state and then submit the form to get data

Homepage - Weather Data

  • 'Enter City' should be replaced with '5 Day Forecast'
  • The weather API will give you a 10 day forecast but you will have to modify the data you receive from the API to only display 5 days.
    • HINT: Modify the array of data using slice
  • Recent Searches should now show a recent city, with a maximum of 3 cities.

Technical Requirements - Back-end

  • The back-end should be created using express.
  • Express.static should be used to server your front-end files.
    • HINT: Use npm build to get production ready front-end files.

Endpoints

  • GET /api/places - Should get the list of recent city searches
  • POST /api/places - Should add city to the list of recently searched cities. Rember, this array should only show the three most recent cities

Contributions

If you see a problem or a typo, please fork, make the necessary changes, and create a pull request so we can review your changes and merge them into the master repo and branch.

Copyright

© DevMountain LLC, 2017. Unauthorized use and/or duplication of this material without express and written permission from DevMountain, LLC is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to DevMountain with appropriate and specific direction to the original content.

online-sim's People

Contributors

bryansmith33 avatar devlemire avatar

Watchers

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