Skip to content

eCommerce 2 API is a step-by-step guide to implementing an RESTful API into your eCommerce 2 project (https://github.com/codingforentrepreneurs/ecommerce-2) using the Django Rest Framework, Django Rest Framework JWT, Django CORS Headers, and more.

License

Notifications You must be signed in to change notification settings

vampiresati/ecommerce-2-api

Repository files navigation

eCommerce 2 API Tutorial Series

eCommerce 2 API is a step-by-step guide to implementing an RESTful API into your eCommerce 2 project using the Django Rest Framework, Django Rest Framework JWT, Django CORS Headers, and more.

The project we use is eCommerce 2. Created by Team CFE @ http://joincfe.com.

Project Overview

  1. Implement a RESTful API (wikipedia) to a pre-existing eCommerce project made in Django. (Souce Code | Video Series)

  2. Products & Categories

    • Create Serializers and API Views
    • Product variations API (pricing + name)
    • Implement product photos
  3. Querying & Filtering

    • Create a Search Function for the API
    • Enable a Django Filter for further filtering of Search Results (or List Results)
  4. User Specific

    • Cart, Checkout, & finalizing Orders
    • JWT (JSON Web Token) Authentication
    • View User-only Orders
  5. Required Packages

    • Everything in src/requirements.txt of the eCommerce 2 project
    • Django Rest Framework (for API)
    • Django Rest Framework JWT (for Auth)
    • Django CORS Headers (for cross-origin HTTP requests)

Interested in learning more?

Sign up on our YouTube channel

Become a member on Coding for Entrepreneurs

The tutorial code below is the final code from the end of each tutorial video. Each link below is tied directly to the tutorial's title. Please note that some videos will not have code reference code.

Tutorial Code

Coming soon

About

eCommerce 2 API is a step-by-step guide to implementing an RESTful API into your eCommerce 2 project (https://github.com/codingforentrepreneurs/ecommerce-2) using the Django Rest Framework, Django Rest Framework JWT, Django CORS Headers, and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 40.8%
  • JavaScript 30.1%
  • CSS 16.5%
  • HTML 12.1%
  • ApacheConf 0.5%