This backend project is used to store, manage and retrieve household items. Have a way of knowing if household food is available for consumption or for provisioning.
- Maven
- Java
- DBMS MySQL
- Git
- Spring
- Spring Boot
- Spring Framework
- Spring WebFlux
- Spring Security
- Spring Data R2DBC
- Spring Validation
- Spring Cloud Gateway
- Spring Cloud Eureka
- Spring Cloud Config Server Config
- Lombok
- MySQL Drive R2DBC
- MapStruct
- Zipkin with Micrometer Brave
- KeyCloak
Home stuff use Maven as compilation system.
Have Maven, Git and JDK17 installed.
Clone repository
https://github.com/Kirenai/home-stuff-ms.git
Go to the root of the project and run the command.
This maven goal will not generate .jar file
mvn clean install
The profile prod will generate the .jar files ~100MB for each module
mvn clean install -P prod
Create the databases and tables, follow the schemas.sql in root
Build the docker compose file.
Will lift Zipkin and KeyCloak
docker compose up -d
Finally, create the Realm and the Client as client_credentials Flow in KeyCloak Console
- user
- nourishment
- consumption
- category
- role
- eureka-server
- auth
- api-gateway
- config-server
- security
- exception
By Kirenai 2024 Kirenai