Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 |