GithubHelp home page GithubHelp logo

hayleyw7 / travel-tracker Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 18.6 MB

Wanna jet? Book your trip here!

Home Page: https://hayleyw7.github.io/travel-tracker/dist/index.html

JavaScript 91.71% SCSS 8.29%

travel-tracker's Introduction

Travel Tracker

This is an application to manage and track different trips for users and a travel agency.

It can be accessed here through GitHub Pages.

Motivation and rubric

This project was completed as a project at Turing School of Software & Design during Module 2.

The rubric is linked here.

The goals and objectives are to use OOP to drive the design of the application and the code, work with an API to send and receive data, solidify the code review process, & create a robust test suite that thoroughly tests all functionality of a client-side application.

Reflections

A challenge was getting the new cards displaying on the DOM. This took a large amount of time.

Big successes were the Sass, fetches, and posts. These will be very useful to know moving forward.

Languages and technology

Written in JavaScript, Mocha, Chai, HTML, & SCSS

Utilizes Webpack, NPM, & Node

Built with Visual Studio Code

Code stored on GitHub

Project board on GitHub

Repository install and setup

Clone project repository

Enter the following command in the Terminal: git clone https://github.com/hayleyw7/travel-tracker.git

Navigate to folder

Enter the following command in the Terminal: cd travel-tracker

Install dependencies

Enter the following command in the Terminal: npm install

Run local host

Enter the following command in the Terminal: npm start

API install and setup

Clone API repository

Enter the following command in the Terminal: git clone https://github.com/turingschool-examples/travel-tracker-api.git

Navigate to folder

Enter the following command in the Terminal: cd travel-tracker

Install dependencies

Enter the following command in the Terminal: npm install

Run API

Enter the following command in the Terminal: npm start

Access and use website

Enter the following URL in your internet browser: http://localhost:8080/

A user logs into the site with the username traveler + their ID.

You will be presented a dashboard of current, past, pending, and future trips. You will also see your yearly payments so far.

If you click "Trip Planner", you will be able to schedule a trip.

Once you fill out and submit that form, you will see an estimated price, and then you can confirm it. Note that you will not be charged until it's approved by an agent.

Once you confirm it, you'll be send back to your dashboard, where it will be under "pending".

To end the session, click "Log Out".

GIFs

dashboard gif trip planner gif

Future addition

  • I will allow an agent to login to the website to approve pending trips.

  • I will let the user decide the order their dashboard categories.

Contributors

Project completed by Hayley Witherell

Project designed by instructors at Turing School of Art & Design

API designed by Travis Rollins & Hannah Hudson

travel-tracker's People

Contributors

hayleyw7 avatar ericsergeant avatar

Stargazers

 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.