Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deep-1704/cashcard
A cash card service API to manage children's allowances in a modern way.
https://github.com/deep-1704/cashcard
gradle java rest-api spring-boot spring-mvc spring-security
Last synced: 19 days ago
JSON representation
A cash card service API to manage children's allowances in a modern way.
- Host: GitHub
- URL: https://github.com/deep-1704/cashcard
- Owner: deep-1704
- Created: 2023-12-15T05:41:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-25T15:52:05.000Z (about 1 year ago)
- Last Synced: 2024-11-17T10:45:19.467Z (3 months ago)
- Topics: gradle, java, rest-api, spring-boot, spring-mvc, spring-security
- Language: Java
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CashCard API
- This is a Spring Boot project I developed while learning Spring Framework.
- This project features a CashCard service API which makes handling allowances a lot easier.
- Currently it works on an embedded-database(H2) for test implementation.## Endpoints
| URI | Method | Body | Http Response Status | Response Header | Response Body |
| --------------- | ------ | --------------- | ------------------------------------- | ------------------------------- | ----------------------------- |
| `/cashcards/{id}` | `GET` | - | 1.`200 OK`
2.`404 NOT_FOUND` | - | 1. CashCard Object
2. null |
| `/cashcards` | `GET` | - | `200 OK` | - | List of owned CashCards |
| `/cashcards` | `POST` | CashCard object | `201 CREATED` | `{location: path/to/newCashCard}` | null |
| `/cashcards/{id}` | `PUT` | CashCard object | 1.`204 NO_CONTENT`
2.`404 NOT_FOUND` | - | null |
| `/cashcards/{id}` | `DELETE` | - | 1.`204 N0_CONTENT`
2.`404 NOT_FOUND` | - | null |