Spring Boot Maven Application CRUD Operations

This project is a Spring Boot application that demonstrates CRUD (Create, Read, Update, Delete) operations using POSTMAN API integration with a MySQL database. It provides a RESTful API for managing resources.

Prerequisites

Before running this application, make sure you have the following prerequisites installed:

  • Java Development Kit (JDK) 8 or later
  • Apache Maven
  • MySQL database

Getting Started

To get started with this application, follow these steps:

Spring Boot Application with Angular Integration

This project is a Spring Boot application integrated with Angular for building a web application. It follows a typical layered architecture, including the main entry point, data model, data transfer objects, repository, service layer, and REST controller.

File Structure

  • The Java source code resides in the src/main/java directory.
  • The main package is com.SpringCrud.SpringAngular.
  • The CustomerController.java file represents the REST controller.
  • The CustomerRepo.java file represents the repository or data access layer.
  • The DTO directory contains the Data Transfer Object classes.
  • The Service directory contains the service layer, with CustomerService.java.
  • The entity directory contains the entity classes.
  • The SpringAngularApplication.java file is the main entry point of the application.
  • The application.properties file in the resources directory holds application-specific configurations.
  • The test directory in src/test/java contains test files (not shown in detail).
  • The pom.xml file is the Maven project configuration file.
  • The README.md file is the project's README documentation.