https://github.com/pushkingav/iron-bank-demo
Test application about Spring Boot, JPA and REST API
https://github.com/pushkingav/iron-bank-demo
Last synced: about 1 year ago
JSON representation
Test application about Spring Boot, JPA and REST API
- Host: GitHub
- URL: https://github.com/pushkingav/iron-bank-demo
- Owner: pushkingav
- Created: 2022-05-30T14:00:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-31T09:19:35.000Z (about 4 years ago)
- Last Synced: 2025-04-05T02:15:55.460Z (over 1 year ago)
- Language: Java
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### This is a test project
#### It does not represent the actual Bank
Let's assume that there is a Bank that has some money and there are clients that want to take credits.
How to test:
1. Run the application
2. Create a simple GET request from the browser
GET http://localhost:8080/amount
This will show the actual money available in the Bank
3. To take a credit use another GET request
GET http://localhost:8080/credit?client=Stark&amount=500
4. If this does not work and the Bank does not give a credit try to change the client's name