sabirahmedshaik / banking-application

Build REST APIs for a simple Banking application using Spring Boot, Spring Data JPA (Hibernate) and MySQL database
1 stars 1 forks source link

REST APIs Banking Application using Spring Boot

Rest Client should be able to:

  1. Create a new bank account
  2. Fetch the account details
  3. Make a deposit
  4. Make a withdrawal

REST APIs for Account Resource:

HTTP Method URL Path Status Code Description
Get /api/accounts/{id} 200 (OK) Get the account details by id
Post /api/accounts 201 (Created) Create a new bank account
Post /api/accounts/{id}/deposit 200 (OK) Make a deposit
Post /api/accounts/{id}/withdraw 200 (OK) Make a withdraw