Skip to content

bayujo/synapsis-marketplace

Repository files navigation

Synapsis Marketplace Backend Documentation

Project Overview

Synapsis Marketplace is an online store application backend, focusing on providing RESTful APIs for managing products, carts, orders, and user authentication.

Entity Relationship Diagram

Entity Relationship Diagram

Features

  • User Management:
    • Register: POST /user/register
    • Login: POST /user/login
  • Product Management:
    • Add Product: POST /product/store
    • Get Products by Category: GET /product/category/{categoryID}
    • Get Product by ID: GET /product/{productID}
  • Cart Management:
    • Add Item to Cart: POST /cart/add
    • Get Cart Items: GET /cart/items/{userID}
  • Order Management:
    • Checkout Cart: POST /order/checkout
    • Get Order Details: GET /order/details/{orderID}
    • Pay for Order: PUT /order/pay/{orderID}
    • Cancel Order: PUT /order/cancel/{orderID}

Dependencies

Docker Setup

Dockerfile and docker-compose files are provided for containerization, build and run the image:

docker-compose up --build

API Testing

Open API Documentation Import to your Postman account or export to JSON format.

Deployment

The project is deployed to GCP platforms.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published