To get this node server up and running, do the following:
- Install Node
- Type
npm installthe first time to get the server's dependencies - Type
node jsServer.jsto start the server - Go to http://localhost:3000 in your browser. The port number can be changed in
jsServer.jsif necessary
Using port 3000
Request
GET /jHtml
GET /flights
GET /flights/:origin
Notes
- Requires node express