Backend system provides restful API for web or mobile.
In this project I'm demonstrating you the most interesting features of Spring Cloud Project for building microservice-based architecture.
Welcome to the backend component of shopp-app backend (e-ecommerce)
. This Java Spring boot backend is designed to
handle the server-side logic and data processing for my application.
✅ Before you begin, ensure you have met the following requirements:
- Java Development Kit
(JDK) 17
or higher installed. - Build tool (
Maven
) installed. - Database system (e.g.,
MySQL8
) set up and configured. - Liquibase Migration Database
MySql8
- Reactive Programming with WebFlux Reactor Spring Boot.
- Hibernate, JPA
- Docker build
- Restfull API
- PostMan Testing API and Client.
- Send message and receiver using Kafka server, Zookeeper, Broker.
- Redis cache database
- Flyway migration database version
- Provides all the necessary and most basic APIs of a website or mobile app for Shopp App and E-Ecommerce
Follow these steps to set up and run the backend:
- Clone the repository:
git clone https://github.com/hoangtien2k3/shopapp-backend.git
cd shopapp-backend
# Using Maven
mvn clean install
- Update
application.yml
with your mysql database connection details.
cd shopapp-backend
#run docker-compose
docker-compose up -d
# Using Maven
mvn spring-boot:run
http://localhost:8080/swagger-ui/index.html
Java
: The primary programming language.Spring Boot
: Framework for building Java-based enterprise applications.Maven/Gradle
: Build tools for managing dependencies and building the project.Database
: Choose and specify the database system used (e.g., MySQL8).Other Dependencies
: List any additional dependencies or libraries used.Cache
: Using redis cache db
Document the API endpoints and their functionalities. You can use tools like Swagger
for
automated API documentation
.
If you would like to contribute to the development of this project, please follow our contribution guidelines.
This project is licensed under the MIT License
.
MIT License
Copyright (c) 2024 Hoàng Anh Tiến
Hoàng Anh Tiến 💻 🚧 🤔 🎨 🐛 |