Local Development API Server
Usage
Get Restaurants
curl "http://localhost:1337/restaurants"
Get Restaurants by id
curl "http://localhost:1337/restaurants/{3}"
Architecture
Local server
- Node.js
- Sails.js
Contributors
- Brandy Lee Camacho - Technical Project Manager
- David Harris - Web Services Lead
- Omar Albeik - Frontend engineer
Getting Started
Development local API Server
Location of server = /server Server depends on node.js LTS Version: v6.11.2 , npm, and sails.js Please make sure you have these installed before proceeding forward.
Great, you are ready to proceed forward; awesome!
Let's start with running commands in your terminal, known as command line interface (CLI)
Install project dependancies
# npm i
Install Sails.js globally
# npm i sails -g
Start the server
# node server
You should now have access to your API server environment
debug: Environment : development debug: Port : 1337
If you find a bug in the source code or a mistake in the documentation, you can help us by submitting an issue to our Waffle Dashboard. Even better you can submit a Pull Request with a fix :)