Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marlonmontenegro/springmvcrest
Spring MVC REST controller that actually produces hypermedia-powered content
https://github.com/marlonmontenegro/springmvcrest
Last synced: about 1 month ago
JSON representation
Spring MVC REST controller that actually produces hypermedia-powered content
- Host: GitHub
- URL: https://github.com/marlonmontenegro/springmvcrest
- Owner: MarlonMontenegro
- Created: 2023-10-10T02:48:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-10T23:03:39.000Z (about 1 year ago)
- Last Synced: 2023-10-11T06:41:29.779Z (about 1 year ago)
- Language: Java
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building REST Services with Spring and Spring HATEOAS
This project demonstrates the creation of RESTful services using the Spring framework, along with the implementation of HATEOAS (Hypermedia as the Engine of Application State) principles. It enables you to perform various operations on employee resources, including creating, updating, deleting, and finding employees.
## Project Overview
In this project, we've developed a Spring MVC REST controller that produces hypermedia-powered content. This means that the API follows the HATEOAS principle, allowing clients to navigate the API seamlessly.
### Features
- **Create New Employees**: You can create new employee resources by sending POST requests to the appropriate endpoint.
- **Update Existing Employees**: Existing employees can be updated by sending PUT or PATCH requests with the necessary data.
- **Delete Employees**: Employee resources can be deleted using DELETE requests.
- **Find Employees**: The API provides multiple ways to find employees:
- Find a specific employee by their ID.
- List all employees.
- Search for employees based on simple or complex properties.## Technology Stack
This project uses the following technologies and frameworks:
- **Spring Boot**: For building and running the application.
- **Spring HATEOAS**: To simplify the creation of REST representations that follow the HATEOAS principle.
- **Spring Data JPA**: For interacting with a database.
- **RESTful API**: To expose endpoints for CRUD operations.