Git Product home page Git Product logo

postbuzztesttask's Introduction

Postbuzz FE Test

Description

This is small project that have been created with AngularJS. Your task is to recreate it in the same way and functionality using Angular 8. You aren't allowed to use any libraries for autocomplete component. For any others elements please fell free. Build a small web app that will find the cheapest flights around Europe. Show us the best that you can do.

Development

Please copy this repository to your machine and use this command:

$ npm install

Start the Webpack development server on 'localhost:3000'::

$ npm run start

Run tests::

$ npm run test

Linting::

$ npm run lint

Styling

Apply a styleguide following the Ryanair branding ( colors )

Components

AirportSelector

An airport selector which will display the list of airports and allow the user to select an aiport.

Keep in mind that origin is different from destination but the component needs to be reusable for both scenarios.

The component needs to be a custom select with autocomplete support.

Keep in mind that departure will have only some routes defined not all the airports can reach other airports.

Flight List

A component that will show all the information relative to the flights between the origin and destination selected.

Requirements:

  • OneWay Dataflow

Extra points will be given for:

  • Styling
  • Mobile first design
  • No third party libraries

Services

In order to get the list of Iata codes ( airport codes ) with the relative destinations the webapp will get those information from the following API:

https://murmuring-ocean-10826.herokuapp.com/en/api/2/forms/flight-booking-selector/

Instead to get the list of cheap flights:

https://murmuring-ocean-10826.herokuapp.com/en/api/2/flights/from/DUB/to/STN/2014-12-02/2015-02-02/250/unique/?limit=15&offset-0

where DUBis the originating IATA code, STNis the destination IATA code, the first date range is the start of the period, and the second is the end.

Routing

The flight list page needs to be a child route of the home page, the search widget needs to be accessibile even after a search

The flight list page needs to be deep linked, so i can share the URL and access directly the flights that i'm looking for.

Unit Testing ( not mandatory )

Extra points will be given for unit testing all the functionality written.

Workflow

  • Fork the project on gitlab
  • Do your magic

postbuzztesttask's People

Contributors

vpritula avatar dependabot[bot] avatar

Watchers

James Cloos 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.