Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steq28/bank_system_project
Bank system made with Java Spring Boot for university project
https://github.com/steq28/bank_system_project
Last synced: 12 days ago
JSON representation
Bank system made with Java Spring Boot for university project
- Host: GitHub
- URL: https://github.com/steq28/bank_system_project
- Owner: steq28
- License: mit
- Created: 2022-06-08T14:36:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-23T16:02:02.000Z (over 2 years ago)
- Last Synced: 2023-03-09T23:34:26.679Z (almost 2 years ago)
- Language: HTML
- Size: 268 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sistema Bancario
Michele Banfi 869294
Stefano Quaggio 866504## Endpoint
Gli endpoint che il nostro server espone sono i seguenti:
- `/api/account`
- GET
- POST
- DELETELe transazioni riguardanti gli account eliminati rimarranno comunque presenti in altri account
- `/api/account/{accountId}`
- GET
- POST
- PUT
- PATCH
- HEAD- `/api/transfer`
- POST
- `/api/divert`
- POSTMentre il frontend web è esposto ai seguenti endpoint:
- `/`
Permette di listare le transazioni dato un accountId appoggiandosi all'endpoint `/api/account/{accountId}` con richiesta `GET`, e permette inoltre di poterle annullare, appoggiandosi all'endpoint `/api/divert` con richiesta `POST`
- `/transfer`
Espansioni frontend:
- `/list`
Permette di listare tutti gli account registrati all'interno del sistema, appoggiandosi all'endpoint `/api/account` con richiesta `GET`. È anche possibile all'interno della pagina modificare nome e cognome del proprietario dell'account appoggiandosi all'endpoint `/api/account{accountId}` con richiesta `PUT`.
- `/register`
Dà la possibilità di registrare un nuovo cliente tramite form, appoggiandosi all'endpoint `/api/account` con richiesta `POST`
## Database
Per il salvataggio dei dati, abbiamo optato per 2 file:
- `accounts.json`
In cui vengono salvate le info degli utenti registrati e le loro transazioni effettuate (come da richiesta)
- `transazioni.json`
In cui vengono salvate tutte le transazioni effettuate all'interno del sistema (per praticità di utilizzo all'interno di Java)