This is an Inventory Management System developed using Spring Boot for the backend, HTML and CSS for the frontend, and SQL for the database. The project utilizes Thymeleaf as the template engine for server-side rendering, Spring Security for authentication and authorization, and Hibernate for ORM (Object-Relational Mapping).
- User Authentication: Secure user authentication and authorization using Spring Security.
- CRUD Operations: Perform Create, Read, Update, and Delete operations on inventory items.
- API Endpoints: Expose APIs for integrating with other systems or applications.
- User Interface: User-friendly frontend interface designed using HTML and CSS.
- Spring Boot: Backend framework for creating RESTful APIs and managing dependencies.
- Thymeleaf: Server-side Java template engine for rendering HTML templates.
- Spring Security: Authentication and access control for securing endpoints.
- Hibernate: ORM framework for mapping Java objects to database tables.
- HTML and CSS: Frontend technologies for building the user interface.
- SQL: Database language for managing data persistence.
This project follows a Layered Architecture, separating concerns into different layers:
- Handles incoming HTTP requests and responses.
- Maps endpoints to service methods.
- Contains the business logic of the application.
- Coordinates between controllers and repositories.
- Handles database interactions using Hibernate ORM.
- Performs CRUD operations on entities.
- Represents database tables as Java classes.
- Transfers data between layers without exposing internal entities.
- HTTP Request → Controller
- Controller → Service (business logic)
- Service → Repository (database access)
- Repository → Service → Controller
- HTTP Response → User
- Clone the repository:
git clone <repository-url> - Navigate to the project directory:
cd inventory-management-system - Build the project:
mvn clean install - Run the application:
java -jar target/inventory-management-system.jar - Access the application: Open your web browser and go to
http://localhost:8080
Make sure you have Java and Maven installed on your system before running the application.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/YourFeature) - Open a pull request
Free and Open Source
Special thanks to the developers of Spring Boot, Thymeleaf, Hibernate, and all other open-source technologies used in this project.