Coder Social home page Coder Social logo

trellixvulnteam / travel_planner_j31t Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alex1ned/travel_planner

0.0 0.0 0.0 26.11 MB

Web application that allows user to insert a destination and date of departure as well as return - which then displays the weather forecast, fun-facts, and images of the destination. This project has been completed as part of the Udacity Front End Development course.

JavaScript 64.13% HTML 12.54% SCSS 23.33%

travel_planner_j31t's Introduction

Table of Contents

Getting Started

About The Project

This project builds a single page website where the user can input a location as well as a departure- and return date for an upcomign journey. Upon submission the user will be displayed the length of the stay, a picture of the destination, as well as a weather forecast. Please note that if the departure date is within the next week the user will be displayed an exact weather forecast as serviced by the weatherbit API. If, however, the departure date is more than one week from today, the user will be displayed the past weather of that day and month one year ago. This is serves as a proxy for what a typical weather may be around the date of departure of the specific location.

The interface is displayed below.

AnImage

Built With

This project has been built using the following frameworks, plugins, and APIs.

#####Frameworks

#####Plugins / Dependencies

#####APIs

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm
npm install npm@latest -g

Installation

  1. Clone the repo
git clone https://github.com/alex1ned/travel_planner.git
  1. Install NPM packages
npm install
  1. Get a free API credential from

  2. In root folder create a new file called .env

  3. In the file enter your credentials in the following way:

    • GEONAMES_API_USERNAME=<your username>
    • WEATHERBIT_API_KEY=<your api key>
    • PIXABAY_API_KEY=<your api key>
  4. In the file .gitignore add the .env file name. This ensures that if you publish your project on github, that your api credentials will not be published on github and are not visible to anyone who may clone or view your project.

Contributing

Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Suggestions for possible features to add (w/o order of relevance):

  • Add a clear button that resets the user interface.
  • Add button that allows user to add another trip which will be displayed below the inital one.
  • Allow user to add multiple destinations for the trip.

License

No license.

Contact

Alexander Nederegger - [email protected]

Project Link: https://github.com/alex1ned/travel_planner

travel_planner_j31t's People

Contributors

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