Skip to content

It is a route creation and passenger program using Google Maps Api libraries

Notifications You must be signed in to change notification settings

yigittosun/PassengerApp

Repository files navigation

Passenger App

Description of Project

The project contains all the items I need to do in the assessment case study you gave me. I saved the data i used in the project (create data/passenger) using mock.api.First of all, i decided to do the project i wanted to do with Vue2 because I couldn't find enough resources to do it using Vue3.I converted the images i used in the project to Webp format so that it can be faster on the seo side.Also, the design is responsive. i adapted it for all devices using the media screen feature.I got help from the vue2 google maps library in the project and I read a lot of code about this library and examined the project.The link of the component i used is below,

I also added a login panel to provide integrity on the frontend side of the project.I provided the user information in the login panel with the structure i created via mock.api.

Username Password Local
admin admin http://localhost:8080/

mockapi

Two mandatory warning messages given in the case document have been added;

  • Route duration from start to finish is over 2 hours
  • Input has passengers more than 9

Google Maps Section

I used 3 api libraries of Google Maps.Markings on the map, Distances and to use Google Maps,

  • Directions API
  • Distance Matrix API
  • Maps JavaScript API

googlemaps

I have 3 parts in my project.These are Passengers panel(means main page),Create new passenger and Route details page.You can see these sections in the header section.

Passengers Panel

We can see the user information recorded on this page in a table, and we can sort them by order and travel length. There is also a search bar for filtering by name to search in long lists.Also we can delete or edit passengers in this table.

PassengersPanel

Create New Passenger

On this page, after entering the name and passenger information of the person, we select the destination on the map (with A and B marked) and automatically lat and lng information comes from here. Using this information, it shows the distance between points A and B by using the library of Google Maps. Then we can create a new passenger.

CreatePassenger

Route Details

On this page, we can access the route details of the previously registered passengers. We can also see the average trip duration among all passengers on this page.

RouteDetail

Also, below are the resources I used while making this case,

About

It is a route creation and passenger program using Google Maps Api libraries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published