https://github.com/shubnikofff/tiny-bank
https://github.com/shubnikofff/tiny-bank
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shubnikofff/tiny-bank
- Owner: shubnikofff
- Created: 2025-01-23T17:07:12.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-02-03T14:14:23.000Z (4 months ago)
- Last Synced: 2025-02-03T15:26:23.828Z (4 months ago)
- Language: Java
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tiny Bank
## Task description
Implement a set of apis to simulate a Tiny Bank.
From a functional perspective, the following features should be implemented:
* Ability to deposit/withdraw money
* View balance
* View transaction historyBank should have only 1 account (hence... Tiny Bank). There is no need to segregate
transactions by account nor to include it in the model.Solution should be **simple**. This means that it is not expected to deliver any of the below:
* authentication/authorisation
* error handling
* logging / monitoring
* transactions/atomic operations
* ...## Initial state
The Tiny Bank has **one** Account with **zero** balance.## How to run service
### Requirements for local environment
* Java 21
* Maven### Run service
From project root directory run the following command
```bash
./mvnw spring-boot:run
```### Use swagger to call API
Open http://localhost:8080/swagger-ui/index.html in browser### Use Intellij HTTP Client
Intellij IDEA users can utilize [Tiny Bank Client](./tiny-bank-api.http) to run API calls.