A simple RESTplus API allowing users to CREATE orders. Then, they are able to READ, UPDATE and DELETE them.
What you need to run this API.
- Python 3.
- Virtualenv environment.
- Postman.
How to get your development environment running.
- Clone the repository.
- Unzip the files to your preferred location.
- cd into the food-api folder.
- Install a virtual environment
pip install virtualenv venv - Install the requirements.txt
pip install -r requierments.txt - Install Postman.
cdintofood-apiRUNpython run.py.
key: Content-Type value: application/json
| Methods | Endpoint | Action |
|---|---|---|
| GET | http://127.0.0.1:5000/v1/orders | (get all your orders) |
| POST | http://127.0.0.1:5000/v1/orders | (create a new order) |
| GET | http://127.0.0.1:5000/v1/orders/order_id | (get a specific order by name) |
| PUT | http://127.0.0.1:5000/v1/orders/order_id | (update an existing order) |
| DELETE | http://127.0.0.1:5000/v1/orders/order_id | (delete a specific order by name) |
-
0.1.0
- The first proper release
Gabriel Machel - @Ch3ll0h - machelgabriel@gmail.com
http://github.com/Chell0/food-api
- Fork it
yourname/yourproject/fork - Create your feature branch
git checkout -b feature/fooBar - Commit your changes
git commit -am 'Add some fooBar' - Push to the branch
git push origin feature/fooBar - Create a new Pull Request