REST API CRUD Implementation in Spring Boot
This project demonstrates how to create a simple Spring Boot REST API with CRUD operations.
@SpringBootApplication
@RestController
@RequestBody
@RequestMapping
@GetMapping
@PostMapping
@PutMapping
@DeleteMapping
- REST (Representational State Transfer) APIs work over HTTP.
- Data exchange format: JSON (default), but also supports XML, HTML, text, etc.
- Clone this repository.
- Open the project in your IDE.
- Build and run the application.
src/main/java
: Java source code.src/main/resources
: Configuration files and static resources.