Giter VIP home page Giter VIP logo

dandelion_backend's Introduction

REST API for an E-Commerce Application

Author: Ly Dai Phat (xiaojiudev)

Email: [email protected]

Github: xiaojiudev

I have developed this REST API for an-ecommerce application. This API performs all the fundamental CRUD operations of any e-commerce platform with user validation at every step.

Related Repositories

Backend: Here

Frontend: Here

Dashboard: Here

๐Ÿš€ Project Overview

This project is developed by me in Can Tho University, VietNam.

๐Ÿ›ฐ๏ธ Key Components

๐Ÿ“ƒ E-R Diagram

E-R Diagram Image

๐Ÿ› ๏ธ Technology Stack

The API leverages a modern technology stack to deliver a powerful and secure e-commerce solution:

  • Java
  • Spring Framework
  • Spring Boot
  • Spring Security
  • Spring Data JPA
  • Spring Docs (Swagger)
  • Hibernate
  • MySQL
  • Cloudinary (Cloud Service)

๐Ÿ“ฆ Modules

  • Register, Login, Logout Module
  • User module
  • Product module
  • Cart module
  • Order module

๐Ÿš€ Features

๐Ÿ”’ Security

  • Grant user authority upon registration.
  • User authentication & validation with JWT (json web token) with a 30-minute validity for enhanced security.
  • Securing REST API endpoints based on user role (CUSTOMER, MANAGER, ADMIN).

๐Ÿ  Address

  • Create, read, update, and delete addresses.

๐Ÿ›๏ธ Product

  • Retrieve product information for all users.
  • Create, update, and delete products, with these actions restricted to MANAGER or ADMIN users.

๐Ÿ›’ Cart

  • Create, manage, and maintain user shopping carts.
  • Add, update, or remove products from a user's cart.

๐Ÿ“ฆ Category

  • Create, read, update, and delete product categories.

๐Ÿ’ณ Payment method

  • Manage payment methods, including creation, retrieval, updating, and deletion.

๐Ÿ“ˆ Order status

  • Administer order status settings, covering creation, retrieval, updating, and deletion.

๐Ÿšš Shipping method

  • Control shipping methods by creating, retrieving, updating, or deleting them.

๐Ÿ“‹ Order

  • Place orders for products.
  • Calculate merchandise fees, shipping fees, and total order costs.
  • Retrieve detailed order information.

โ˜๏ธ Storage

  • Utilize the Cloudinary service for efficient storage of images, videos, and more.

API Module Endpoints

... Uploading soon ...

dandelion_backend's People

Contributors

xiaojiudev 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.