Skip to content

E-Commerce site RESTful back-end APIs using Django & Django REST Framework (drf). Uses Coding Best Practices to make API views for CRUD operations, Serializers, django filters, DRF template customizations, search etc.

ombharatiya/django-RESTful-web-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-RESTful-web-apis

In this project we have created e-commercial site's RESTful back-end APIs using Django REST framework.

We have used following concepts of Django & DRF to complete this project:

  • Serializer
  • API views
  • Django filters - filtering back ends
  • Pagination, search, listing & custom query etc.
  • Routers with viewsets
  • Executing CRUD operations
  • Managing serializer fields
  • Testing API views
  • data-driven web experiences

To setup the project:


$ git clone https://github.com/ombharatiya/django-RESTful-web-apis.git
$ cd django-RESTful-web-apis
$ vrtualenv -p python3.6 .venv
$ source .venv/bin/activate
<.venv>$ pip install -r requirements.txt
<.venv>$ python manage.py runserver

Now you can check various apis on http://localhost:8000

To run it on '127.0.0.1', you might be required to add this host in settings.py file ALLOWED_HOSTS = ['127.0.0.1'] or do ALLOWED_HOSTS = ['*'] .

About

E-Commerce site RESTful back-end APIs using Django & Django REST Framework (drf). Uses Coding Best Practices to make API views for CRUD operations, Serializers, django filters, DRF template customizations, search etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published