The Agrix project is a web application for farm management and monitoring, developed during the Java module of Trybe's Web Development course. The main goal is to assist farms in improving their technologies and optimizing sustainable land use by managing crops, fertilizer inventories, and other resources.
- Authentication and Authorization: Secure access control using Spring Security.
- Farm and Crop Management: Routes for registering and monitoring farms, crops, and fertilizers.
- REST API: Interface for system interaction.
- Error Management: Robust error handling with Spring Web.
- Docker Execution: Full setup for running the application in Docker containers.
- Advanced use of the Spring Framework to build secure and robust applications.
- Implementation of Spring Security for user authentication and authorization.
- Development of a REST API with CRUD routes for agricultural management.
- Integration with Spring Data JPA for data persistence in MySQL.
- Use of Docker for containerizing the application and test environment.
- Creation of unit tests with JUnit.
-
Clone the Repository:
git clone https://github.com/SamuelRocha91/agrix.git
-
Access the Directory:
cd agrix
-
Build and Run: Use Maven to run the project:
mvn spring-boot:run
-
Run Tests: To run unit tests:
mvn test
-
Run with Docker: Build and run the Docker container:
docker compose up