Skip to content

A simple flight search engine. built with Angular 6. More features Coming Soon

Notifications You must be signed in to change notification settings

shivamsngh/flightsearch

Repository files navigation

Flight Search Engine

This project was started as an assessment part of hiring process for a place where thoughts actually Work ! :D

Tech Stack

Built with Angular 6 and RxJS Full Chunk Size is 387 KB (Tested on Firefox and Chrome)

Road Map

  • Server Side Rendering with Angular 6
  • Maps based Airport selection, possibly with leaflet
  • Open source Flight search API integration
  • Nodejs based Express Server

Cross Browser Compatibility

Chrome (Version 61.0.3163.100) -> Fully Functional

Safari (Version 11.0 (12604.1.38.1.7)) -> Fully Functional

Firefox (Version 62.0.3 (64-bit)) -> Fully Functional

Opera (Version 48.0.2685.39) -> Fully Functional

Responsiveness

Mobile -> All size screens tested to be fully functional on Chrome Dev Tools

Production Build

The production build is in the /dist folder from where the build can be used directly. NOTE: Directly opening index.html in browser might give a "CORS" or Cross origin error because of the included flight-data.json file which is serving the dummy data for us. Most Flight data are from Mumbai to Kolkata on 1st of November 2017 Use range bar to modify range if initial request shows no flights

Git

Git head not set

Running unit tests

Unit Tests are written using Karma and Jasmine. Run ng test to execute the unit tests via Karma.

Running end-to-end tests

End-To-End test is writen using protractor. Run ng e2e to execute the end-to-end tests via Protractor.

My Profile

You can find me chilling on my website.

Basic Information​:

● Mock flight data

src/assets/data/flight-data.json
src/components/search-box component

● Search Box

src/components/search-box component

● Flights List

src/components/flight-details-card component

● Slider Component

src/components/search-box component

● Framework

Angular 6

● Tests

e2e & unit
all components have unit test case file as COMPONENT_NAME.spec.ts

About

A simple flight search engine. built with Angular 6. More features Coming Soon

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published