Skip to content

Qinisfighting/Travel-Planner

Repository files navigation

Travel Planner

Overview

Capstone Project of Front End Web Developer Nanodegree Program from Udacity, aiming to create a web tool, with which user can enter the trip destination, the departing and returning date and personal notes, to create a travel plan with weather forecast, an image of the destination, information of the country and notes.

Extended functionalities:

  • Add end date and display length of trip.
  • Pull in an alternative image.
  • Integrate the REST Countries API to pull in data for the country being visited.
  • Allow the user to remove the trip.
  • Incorporate icons into forecast.
  • A memo function which allows user to enter information relating to the trip.
  • A print button on the left which allows user to print their trip.
  • Use Local Storage to save trips.
  • Allow the user to add additional trips.

Environment

NodeJS Express.js

Build tools

HTML5 SASS JavaScript Webpack Jest AXIOS AXIOS

API

Dependencies

  • cors
  • body-parser
  • webpack plugins and loaders

Installation

  • Clone the project to local device

  • Make sure Node(v14.21.3) and npm(v6.14.4) are installed from the terminal, and run

    npm install
    
  • By package compatibility issues, please install plugins and loaders with the proposed version set from package.json, and run

    npm i --legacy-peer-deps
    

Start the project

  • Sign up for the first three API ID/keys from the link above and make sure dotenv package is installed
  • Create a .env file in the root of this project and fill the file with the API keys
geoUsername = *********
weatherAPIKey = *************************
pixAPIKey = *************************
Command Action
npm run build-prod build
npm start run
npm run build-dev develope

View the project

Special thanks

Extras

Adding new features, fixing bugs or any other questions, Please feel free to contact me: Yanqin Q (yq.qualmann@gmail.com)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published