This project is a RESTful CRUD application built using Spring Boot. The application implements standard RESTful practices and follows a layered architecture.
This was developed as part of the Building a REST API with Spring Boot course from Spring Academy.
Family Cash Card is an app for families to manage allowances in the form of digital debit cards.
- HTTP Methods: Implemented RESTful operations using
GET
,PUT
,PATCH
, andPOST
. - Response Status Codes: Proper handling of HTTP status codes such as
200 OK
,201 CREATED
, and204 NO CONTENT
. - Layered Architecture:
- Spring Security: Secures the API endpoints.
- Spring Web: Handles HTTP communications between the API and clients.
- Spring Data: Manages interaction with the relational data store.
- Test-First Development: Ensured functionality using a test-driven development (TDD) approach.
- Steel Thread Implementation: Focused on driving out core functionality and de-risking integration points early in development.
- Red, Green, Refactor: Followed the TDD cycle to iteratively improve code quality and coverage.
- Java
- Spring Boot
- Spring Security
- Spring Web
- Spring Data JPA
- JUnit (Testing)
To run the test suite, execute the following command:
mvn test
- Clone the repository.
- Run
mvn clean install
to build the project. - Start the application using
mvn spring-boot:run
. - Access the API via
http://localhost:8080
.