This project is created in order to understand Simple REST API by using Django and Django Rest Framework. There are POST and GET requests for courses list with GET, PUT, and DELETE for course detail .
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. (Commands are written for Windows.)
After downloading the repository, get virtual environment and activate it in your directory:
pip install virtualenv
python -m venv venv
venv\Scripts\activate
Now that you're inside a virtual environment, install project's package requirements:
pip install -r requirements.txt
There is an overview on how it works:
python manage.py runserver
Go to localhost:
- for courses list to http://127.0.0.1:8000/courses/
- for course detail to http://127.0.0.1:8000/course/ {course_id}
APIs for:
- Course List /courses/
- Course Detail /courses/{course_id}
- Django
- Django Rest Framework
- Tutorial which was used in order to learn REST API
- RESTful API guidelines
There are no other versions
- Sardar Sultanaliev - initial work - sultanaliev-s