Giter VIP home page Giter VIP logo

kemzzy-dev / commista Goto Github PK

View Code? Open in Web Editor NEW

This project forked from s13g/commista

0.0 0.0 0.0 9.28 MB

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.

JavaScript 26.32% Python 41.30% CSS 24.32% HTML 7.78% Dockerfile 0.28%

commista's Introduction

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 [email protected]: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

commista's People

Contributors

s13g avatar dependabot[bot] avatar huzzy619 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.