AutoFix-JSP is a comprehensive software solution for mechanical workshop management, built on a robust architecture following Java enterprise standards. The system manages everything from customer and vehicle workflows to parts inventory, technical appointments, and invoicing.
- User Management: Specific modules for Clients and Mechanics with personalized Dashboards.
- Appointment Control: A complete system to request, modify, and cancel technical appointments.
- Inventory & Spare Parts: Management of parts, supplier orders, and returns.
- Repair Module: Detailed tracking of all work performed on each vehicle.
- Invoicing: Generation and lookup of invoices for both the workshop and the customer.
- Notifications: Integrated mail service for automated client communication.
- REST API: Includes an external services module for system interoperability.
- Web Framework: Struts 2 (MVC Architecture).
- Persistence (ORM): Hibernate 4 for Object-Relational Mapping.
- Services: JAX-RS (REST Service) for decoupled functionalities.
- Database: MySQL 8.0+.
- Frontend: JSP, Bootstrap 3, CSS3, and JavaScript.
- Server: Apache Tomcat 9.0+.
The repository is divided into three main components:
Trabajo_it/: The core web application.src/java/controlador/: Struts 2 Actions handling the business logic.src/java/DAO/: Data Access Objects for database communication.src/java/modelo/: Entity classes and Hibernate mapping files (.hbm.xml).web/vistas/: JSP pages organized by modules (Appointments, Clients, Mechanics, etc.).
ServicioRest/: Independent module exposing RESTful web services.Base de datos/: Contains thetaller_mecanico.sqlscript for schema initialization.
- JDK 8 or higher.
- Apache Tomcat 9.0+.
- MySQL Server.
- IDE with Ant project support (NetBeans is recommended due to
.nbprojectfiles).
- Create a MySQL database named
taller_mecanico. - Import the script located at
/Base de datos/taller_mecanico.sql. - Update your connection credentials in the following file:
Trabajo_it/src/java/hibernate.cfg.xml
- Clone the repository:
git clone [https://github.com/eLeCe2611/AutoFix-JSP.git](https://github.com/eLeCe2611/AutoFix-JSP.git)
- Open the
Trabajo_itproject in your IDE. - Resolve dependencies using the libraries included in the
lib/andlibs/folders. - Clean, build, and deploy to your Tomcat server.
- Access the app at
http://localhost:8080/Trabajo_it.
- Luis Carmona - eLeCe2611
This project was developed for academic purposes to demonstrate mastery of enterprise Java frameworks and software design patterns.