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.
- 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.
- 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.
- JDK 11
- Gradle
- Docker
- PostgreSQL
-
Clone the Repository
git clone [https://github.com/yourusername/your-repo-name.git](https://github.com/jahangirzadanurlan/E-commerce-Platform.git)
-
Navigate to Project Directory
cd E-commerce-Platform
-
Build the Project
gradle build
-
Run Docker Compose
docker-compose up
- Register a new user at
localhost:8080/user/auth/registration
. - Browse available wholesale products at
localhost:8080/product/wholesale-products
. - Buy product
localhost:8080/product/buy-product
. - Purchase products to resell on
localhost:8080/product/market-products
. - Automated tasks will simulate sales at predefined intervals.
- Fork the project.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.