https://github.com/javascript-pro/locomote
Build a flight search interface including a back end server. When the user clicks search, your front end code needs to make an AJAX request to a the small backend server, which will in turn contact the Flight API (provided).
https://github.com/javascript-pro/locomote
Last synced: 9 months ago
JSON representation
Build a flight search interface including a back end server. When the user clicks search, your front end code needs to make an AJAX request to a the small backend server, which will in turn contact the Flight API (provided).
- Host: GitHub
- URL: https://github.com/javascript-pro/locomote
- Owner: javascript-pro
- Created: 2017-03-13T00:13:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T03:19:11.000Z (about 9 years ago)
- Last Synced: 2025-04-06T06:15:02.856Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://locomote-listingslab.rhcloud.com
- Size: 2.72 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# JavaScript coding task for Locomote (1.0.4)
## The Challenge
Build a flight search interface as per this brief: http://node.locomote.com/code-task/
---
## /src folder
Contains the uncompiled Source of the front end JavaScript application. Written in ES6,
webpack watches for changes and compiles it using Babel to transpile it into minified ES5
code ready for production.
## Developer Installation
Clone the repository & cd to directory and run start.sh to install dependencies, then run `npm start` to start the server on http://localhost:3000/ and open that url in your default browser. Running `npm run open` will open the browser for you
Then run
`npm run dev` to start webpack in watching mode which will recompile the JavaScript app on change
### NPM Scripts
`npm start`
Runs Koa server on port 3000 on localhost
`npm run open`
Runs Koa server on port 3000 on localhost and opens the browser to http://localhost:3000/
`npm run dev`
Starts webpack in watch mode.
---
### Using Atom editor?
Install IDE linting. It's proper helpful
`apm install linter-eslint`
`apm install linter-stylelint`