Skip to content
/ Commista Public

Commista is a versatile commerce API designed to facilitate seamless online shopping experiences. Commista empowers businesses to deliver a comprehensive and engaging e-commerce platform to their customers.

Notifications You must be signed in to change notification settings

S13G/Commista

Repository files navigation

Commista E-Commerce API

bg.png

Commista is a versatile commerce API designed to facilitate seamless online shopping experiences. With Commista, administrators have full control over product management, including the ability to add new products, create attractive offers, and organize items into categories. Additionally, administrators can easily notify customers about promotions, updates, and other important information. Customers can explore the diverse range of products, conveniently add items to their cart, and enjoy a hassle-free checkout process with secure payment options. Commista empowers businesses to deliver a comprehensive and engaging e-commerce platform to their customers.

Commista Postman Documentation

https://bit.ly/commista

Technologies used

  • Python
  • Django, Django Rest Framework
  • SQLite3, MariaDB
  • Docker and Docker-Compose
  • Pytest (unit testing)
  • CircleCI (CI/CD)

Getting Started

To get the service up and running, follow the steps below:

  1. Clone the project by using the command below in your terminal

    git clone git@github.com:S13G/Commista.git
    
  2. Change directory into the cloned repository

    cd Commista
    
  3. Rename the .env.template to .env and update the values.

  4. Build and run the service with

    docker-compose up --build
    

    or execute the command below in case permission is denied and root user/permission is needed

    sudo docker-compose up --build
    

    The service will build and run on port 8000

  5. Launch a new terminal session and run the following commands

    python manage.py makemigrations
    

    The command above runs the migrations if there are some unapplied migrations

    python manage.py migrate
    

    The command above performs the database migrations

  6. Create an admin user with the command below:

    python manage.py createsuperuser
    

    After creating the superuser, access the admin panel and login with your admin credentials with the link https://localhost:8000/admin/

    Admin Login Screen

    img.png

    Admin Dashboard Screens

    Light Mode

    pic2.png

    Dark Mode

    pic3.png

  7. Add your data and then access the postman docs and make requests to the API.

Articles that helped

A Deep Dive into Containerization, CI/CD, and AWS for Django Rest Application

Part 1

https://matthewakinola.hashnode.dev/a-deep-dive-into-containerization-cicd-and-aws-for-django-rest-application-part-1

Part 2

https://matthewakinola.hashnode.dev/a-deep-dive-into-containerization-cicd-and-aws-for-django-rest-applications-part-2

About

Commista is a versatile commerce API designed to facilitate seamless online shopping experiences. Commista empowers businesses to deliver a comprehensive and engaging e-commerce platform to their customers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published