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 Boot
- Spring Framework
- Spring Web
- Spring Security
- Spring Data JPA
- Spring Validation
- Lombok
- MySQL Drive
- JWT
- MapStruct
- Jetbrains Annotations
- Swagger
Home stuff use Maven as compilation system.
Have Maven, Git and JDK17 installed.
Clone repository
git clone https://github.com/Kirenai/home-stuff.git
Go to the root of the project and run the command.
The environment variables passed to maven are used to configure the application-dev.yml file.
mvn clean install -DMYSQL_HOST={my_host} -DMYSQL_PORT={my_port} -DMYSQL_USER={my_root} -DMYSQL_PASSWORD={my_password}
Build the image in the root of the project.
docker build -t homestuff:0.0.1 .
Finally, run the services with docker-compose.
docker-compose up -d