Giter Club home page Giter Club logo

johndiginee / porto_shopping_mall_api Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 5.02 MB

Porto Shopping Mall API is an E-commerce API built using Django, Django Rest Framework, JWT Authentication, Postgres, Github Actions, Amazon S3, Digital Ocean, Mailtrap, Stripe, etc.

Home Page: https://porto-shopping-mall-api-g7ogr.ondigitalocean.app/redoc/

Python 10.38% CSS 26.05% JavaScript 62.97% HTML 0.60%
amazon-s3 digitalocean django django-rest-framework github-actions jwt-authentication mailtrap-io postgresql stripe

porto_shopping_mall_api's Introduction

Porto Shopping Mall API

Porto Shopping Mall API is an eCommerce store API that allows different software applications to communicate and interact with their platform. This API enables the exchange of data and functionality (such as product, inventory, cart, and customer management, order processing, etc) between their store and other systems, such as mobile apps, third-party software, payment gateways, and more.

API Features

User Authentication

  • Register user
  • Login user
  • Change password
  • Password reset request
  • Password reset confirmation
  • Refresh token
  • Logout user

User Profile

  • Current user profile
  • Update user profile

Product

  • Create product
  • Upload product image
  • Delete product
  • Update product
  • List all products
  • Get single product
  • Search products
  • Filter products

Order

  • Create order
  • Get all orders
  • Get single order
  • Delete order
  • Make payment
  • Process order

Review

  • Create product review
  • Update product review
  • Delete product review

Technologies Used

  • Django
  • Django Rest Framework
  • JWT Authentication
  • Mailtrap
  • Stripe
  • Amazon S3
  • Postgres
  • Github Actions (Continuous Integration/Continuous Deployment)
  • Digital Ocean
  • DRF-YASG (API Documentation)
  • Insomnia

API Documentation

https://porto-shopping-mall-api-g7ogr.ondigitalocean.app/redoc/

Test via Insomnia - https://github.com/johndiginee/Porto_Shopping_Mall_API/blob/master/Insomnia_2023-09-18.json

Installation on local machine

git clone https://github.com/johndiginee/Porto_Shopping_Mall_API.git
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Set DEBUG = True in settings.py
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver

Create a .env file and set:

SECRET_KEY =
DEBUG =

AWS_ACCESS_KEY_ID =
AWS_SECRET_ACCESS_KEY =
AWS_STORAGE_BUCKET_NAME =
AWS_S3_REGION_NAME =

EMAIL_HOST = 
EMAIL_HOST_USER = 
EMAIL_HOST_PASSWORD =
EMAIL_PORT = 

STRIPE_PUBLIC_KEY =
STRIPE_PRIVATE_KEY =
STRIPE_WEBHOOK =

Author

John Diginee - LinkedIn / X / Personal Site

Acknowledgements

Holberton School, ALX Africa (Mentors, Staff and Students) & Mastercard Foundation

porto_shopping_mall_api's People

Contributors

johndiginee avatar

Stargazers

 avatar  avatar

Watchers

 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.