This project is a full-stack CRUD (Create, Read, Update, Delete) application built with Spring Boot for the backend and Angular for the frontend. It enables the management of items with features such as routing, CORS handling, and integration with a MySQL database.
- Full CRUD functionality for managing items.
- Integration with MySQL database for persistent storage.
- CORS handling for secure cross-origin communication.
- Bootstrap for visually appealing UI.
- SweetAlert2 for enhanced user alerts.
- Backend: Spring Boot, Axios
- Frontend: Angular, Bootstrap, Sweetalert2
- Database: MySQL, H2
Before you begin, ensure you have the following installed:
- Java Development Kit (JDK)
- Node.js and npm
- Angular CLI
- MySQL Server
- Lombok: Java library to reduce boilerplate code, making development cleaner and more concise.
- Spring Tool Suite (STS): An integrated development environment for building, testing, and deploying Spring applications.
- PHPMyAdmin: Web-based tool for managing MySQL databases.
- Visual Studio Code
-
Clone and fork the repository
-
Set up the backend: open the project on STS
-
Set up the frontend
npm install
-
Set up the database:
- Create a MySQL database based on the application.properties.
-
Run the application:
- Start the Spring Boot backend.
- Start the Angular frontend.
ng serve --open
This project operates under the MIT License. Refer to the LICENSE file for detailed information.
Your feedback and contributions are invaluable! Feel free to open issues, submit pull requests, or connect for discussions.
- Contact me in LinkedIn for questions.