Lets Create an Ecommerce API with Django and Django Rest Framework

Опубликовано: 30 Октябрь 2024
на канале: Faith Olusegun
24,850
531

In this tutorial, we built an Ecommerce API using Django and the Django Rest Framework,

See the Github Repository for the project - https://github.com/propenster/youtube...

Video 1: Lets Create an Ecommerce API with Django and Django Rest Framework -    • Lets Create an Ecommerce API with Dja...  

Vieo 2: Lets Add Token Authentication To our Django REST Framework Ecommerce API -    • Lets Add Token Authentication To our ...  

Video 3: Lets Add Cors and Implement a Cart Feature in our Django REST Framework Ecommerce API -    • Lets Add Cors and Implement a Cart Fe...  

Video 4: How to Add JWT Authentication, User Registration and Login in Django Rest Framework Ecommerce API -    • How to Add JWT Authentication, User R...  

STEPS:
Create entity diagram draw.io
Create a Github REPO for our project
Create Folders and Environment for our Project
Install Django
Create DjangoEcommerceAPI Project
Create App
Register App in settings.py
Wire URLS - Project-level and App Level
Create Models
Make migrations
Register Models in admin.py
Install Django REST Framework - https://www.django-rest-framework.org
Register rest_framework in settings.py
Create Serializers for all our models
Create Views - generic DRF views
tidy up URLs and views
Runserver
Create Super User to use the Django ADMIN site
Add a few Categories, Books and Products
browse API's, Test Create, Read, Update and Delete in API's
Finish

Thank you for taking time to watch this tutorial, and I hope you like it. Please comment below if you feel the tutorial is beginner-friendly and understandable enough.
Also, like and subscribe to this channel if you like what you see.

NEXT tutorial is on extending this project and integrating Auth User model, authenticating and making more API resources

Thank you very much.
Faith.

Buy me a coffee: https://www.buymeacoffee.com/propenster