Reactjs based app to search flights
These instructions will get you a copy of the project up and running on your local machine for development purposes.
You should have Git and Node (greater than v7) installed.
Git clone the repository
cd Flight-Search-Engine
npm install
npm start
This project uses json-server to serve json data from db.json file found at the root of the project folder.
In production mode json-placeholder is used to serve the same db.json from here
To view the app in browser, open http://localhost:5000/. The value of port can be changed in webpack.config.dev.js
To change the BASE_URL, open constants.js
npm run build
will build the project in dist folder.
In case of node-sass error during intalling, downgrade or upgrade to node version 8.11