Skip to content

An Ecommerce API, based on Django, MySQL database, that provides various fundamental features of a modern ecommerce applications, which users can connect to client app, so as to make a fully fledged ecommerce application

Notifications You must be signed in to change notification settings

vibhudawar/storefront-3-final-project

Repository files navigation

Ecommerce Store API

Designed an Ecommerce API, based on Django, MySQL database, that provides various fundamental features of a modern ecommerce applications, which users can connect to client app, so as to make a fully fledged ecommerce application

Features

  • Sign up/login a user
  • Creation/Updation/Deletion of unlimited products, along with their multiple images and other product parameters
  • Tags, Likes feature for a particular product
  • Sorting the products based on categories/collection
  • Filtering of product based on cost, category
  • Searching of products based on title, description and other fields
  • Pagination feature
  • Creation/updation/deletion of cart
  • Providing various permissions based on groups/roles
  • User profile endpoint
  • Used celery to execute multiple long running tasks, and used redis as a message broker/queue in assisting the celery to work.

Database Structure

ER Diagram:

ER Diagram

Useful Endpoints

Tech Stack

  • Server: Django (Python)
  • Database: MySQL

Run Locally

  • Clone the project
  git clone https://github.com/vibhudawar/storefront-3-final-project
  • Go to the project directory
  cd storefront
  • Setup virtual environment
  python3 -m venv [name of the virtual env]
  • Activate virtual environment
  source [name of the virtual env]/bin/activate
  • Install dependencies
  Pip  install -r requirements.txt
  • Setup the database parameters in the settings.py under storefront application
  • Make a database in the mySQL client apps such as datagrip, and then run the commands:
  python manage.py makemigrations
  python manage.py migrate
  • Run the server:
  python manage.py runserver

License

MIT

About

An Ecommerce API, based on Django, MySQL database, that provides various fundamental features of a modern ecommerce applications, which users can connect to client app, so as to make a fully fledged ecommerce application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published