Microservice-webflux with spring boot, reactor-core, Liquibase database migration, docker, apache kafka.
Before you begin, ensure you have met the following requirements:
- Java Development Kit
(JDK) 17
or higher installed. - Build tool (e.g.,
Maven
) installed. - Database system (e.g.,
MySQL
,Liquibase
) set up and configured. - Kafka sends message
- Liquibase db migration
- Database R2DBC
- Spring Cloud API-GATEWAY
- Skima Validate
Json
- Docker and docker-compose
- ✅ Using
Microservices
as a high-level architecture
Follow these steps to set up and run the backend:
- Clone the repository:
git clone https://github.com/hoangtien2k3/microservice-webflux.git
cd project-name-backend
# Using Maven
mvn clean install
# Using Gradle
gradle build
- Update
application.properties
orapplication.yml
with your database connection details.
# Using Maven
mvn spring-boot:run
# Using Gradle
gradle bootRun
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., MySQL, PostgreSQL).Other Dependencies
: List any additional dependencies or libraries used.
Document the API endpoints and their functionalities. You can use tools like Swagger
for automated API documentation
.
Profile Service Send Topic:
Account Service Receiver Topic:
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
.