Giter Site home page Giter Site logo

lenakorsakov / big-trip Goto Github PK

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

Big-trip is an application written in JavaScript using the MVP pattern. It allows the user to conveniently schedule his trip.

Home Page: https://big-trip-opal.vercel.app

JavaScript 23.29% CSS 15.76% HTML 60.95%
babel dayjs javascript oop-in-javascript webpack

big-trip's Introduction

Big Trip

OPP-style application written in JavaScript using the MVP pattern.

The app allows the user to easily plan their trip. At each step of the itinerary, the user sees all the information necessary for successful planning: accommodation/transportation costs, description of the waypoint with photos, and the ability to add additional options, such as upgrading the class of transport. All this allows you to focus on planning, and creating a flawless itinerary!

Description

When the user starts the application, he immediately sees his planned route. He can select the "future" filter, then only future points of route will be displayed in relation to the current moment. Main-screenshot

If the user has not yet added any points, the app will prompt him to add the first point. No-point-screenshot

User can view the list of trip point in chronological order by default. Also user can sort trip points by price. Route-screenshot

To add a new point, the user just needs to click on the big yellow "New Event" button. In the popup that opens, the user has a drop-down menu with the type of event: train, ship, sightseeing, etc. In addition, he must specify the city, as well as the duration and price. When you change the city, a description of the destination appears below, and for most cities a photo gallery is available.

A useful feature of the application is the additional options in the form of checkboxes. The user can add breakfast, upgrade the class of transport, etc. The options change for each type of event. New-point-screenshot

For each point, it is possible to view details and edit. For the convenience of filling in the date and time of the route, the app uses the pretty calendar from the flatpickr library. Edit-screenshot

Stack

  • JavaScript(ES8),
  • OOP-style,
  • MVP,
  • Babel,
  • Webpack,
  • JSDoc,
  • flatpickr,
  • dayjs.

Self-written api with the ability to capture errors.

Demo site

Go to site

How to run app:

  • Clone repository:
git clone [email protected]:LenaKorsakov/big-trip.git
  • Install dependencies repository:
npm install
  • Run application:
npm start

big-trip's People

Contributors

lenakorsakov avatar keksobot avatar sineway 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.