This project is just an example on how to consume RESTful APIs using Django.
Read the blog post How to Use RESTful APIs with Django.
This project is deployed at restful-apis-example.herokuapp.com.
First, clone the repository to your local machine:
git clone https://github.com/sibtc/restful-apis-example.gitInstall the requirements:
pip install -r requirements.txtPS: If you have issues installing either gunicorn or psycopg2, you can remove them from the requirements.txt file and run the command again.
Create the database:
python manage.py migrateFinally, run the development server:
python manage.py runserverThe project will be available at 127.0.0.1:8000.
The source code is released under the MIT License.
