Skip to content

This is an e-commerce platform built using a microservices architecture. The platform enables users to purchase wholesale products and resell them in a personalized marketplace.

Notifications You must be signed in to change notification settings

jahangirzadanurlan/E-commerce-Platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce Platform Microservices Project

Overview

This is an e-commerce platform built using a microservices architecture. The platform enables users to purchase wholesale products and resell them in a personalized marketplace.

Features ⭐

  • External API Integration: Fetches products from an external API.
  • Spring Security and JWT: Handles user registration, authentication, and logout.
  • Wholesale Products: Users can browse wholesale products at localhost:8080/product/wholesale-products.
  • Resale Capabilities: Users can resell purchased products, appearing at localhost:8080/product/market-products.
  • Automated Sale Simulation: Scheduled tasks to simulate product sales.

Built With 🔨

  • Microservices Architecture: Designed with a microservices approach.
  • JDK 11: The project is built using JDK 11.
  • Gradle: Gradle is used for dependency management.
  • Spring Boot: Used for the backend framework.
  • PostgreSQL: Utilized for the database.
  • Liquibase: Handles database migrations.
  • Eureka Server: For service discovery.
  • Application Gateway: Serves as the API gateway.
  • Docker: The project includes Dockerfile and docker-compose.yml for containerization.

Getting Started 🚀

Prerequisites

  • JDK 11
  • Gradle
  • Docker
  • PostgreSQL

Installation

  1. Clone the Repository

    git clone [https://github.com/yourusername/your-repo-name.git](https://github.com/jahangirzadanurlan/E-commerce-Platform.git)
  2. Navigate to Project Directory

    cd E-commerce-Platform
  3. Build the Project

    gradle build
  4. Run Docker Compose

    docker-compose up

How To Use 📖

  1. Register a new user at localhost:8080/user/auth/registration.
  2. Browse available wholesale products at localhost:8080/product/wholesale-products.
  3. Buy product localhost:8080/product/buy-product.
  4. Purchase products to resell on localhost:8080/product/market-products.
  5. Automated tasks will simulate sales at predefined intervals.

Contributing 🤝

  1. Fork the project.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

Screenshot 2023-08-19 221531

About

This is an e-commerce platform built using a microservices architecture. The platform enables users to purchase wholesale products and resell them in a personalized marketplace.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published