GithubHelp home page GithubHelp logo

travel-app's Introduction

Travel App

This project involved pulling in multiple APIs and using them to display data. The flow of the project and data starts with getting the city name from the user and passing that info to the Geonames API to get the lat/lon. The lat/lon are then used in the Weatherbit API to get weather information. This information varies. If the trip is within 1 week the app outputs the current weather. If the trip is outside of 1 week the app outputs the forecasted weather. Finally, the app outputs an image of the destination city using the city name from the user which is retrieved from the Pixabay API.

Project Instructions

  • Sign up for an API user at Geonames
  • Sign up for an API user at Weatherbit
  • Sign up for an API user at Pixabay
  • Move to project folder
  • Install npm
    • npm install
  • Install plugins
    • npm i -D @babel/core @babel/preset-env babel-loader
    • npm i -D style-loader node-sass css-loader sass-loader
    • npm i -D clean-webpack-plugin
    • npm i -D html-webpack-plugin
    • npm i -D mini-css-extract-plugin
    • npm install dotenv
  • Create .env file in project home
    • This is where you will house your API key from meaningcloud to keep it private
  • Build prodcution
    • npm run build-prod
  • Start project
    • npm run start
  • Open your localhost that you designate

travel-app's People

Contributors

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