/Flight-Search-Engine

✈🔎 ReactJS based app to search for flights

Primary LanguageJavaScript

Flight Search Engine

Reactjs based app to search flights

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Prerequisites

You should have Git and Node (greater than v7) installed.

Installing

Git clone the repository

cd Flight-Search-Engine
npm install

Developing

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

Building the project

npm run build

will build the project in dist folder.

Troubleshooting

In case of node-sass error during intalling, downgrade or upgrade to node version 8.11