Technologies used : React.js + Sass + react-calendar + Cypress. All commentaries done with jsDoc. The main searchbar is based on TrainLine search bar but the overall design has been made to fit Tictactrip graphic universe :) The homepage and the search bar are responsive and can be viewed on both mobile and desktop formats.
Passenger section needs to be finalized, with the selection of train cards linked to each passenger to calculate the price.
This app uses react-calendar. more infos here : (https://www.npmjs.com/package/react-calendar) This app uses react-select. more infos here : (https://www.npmjs.com/package/react-select)
Api test file done with Cypress. more infos here : (https://docs.cypress.io) you can find the test file CallAPi.spec.js here : /cypress/integration/CallAPi.spec.js
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.