Skip to content

pedroazzam/banking-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Developer Coding Task

Backend and REST API for a simple Banking Application

Getting Started

To get access to client methods, first you need to SignUp/LogIn. To SignUp/LogIn, you can do it with:

Methods - How to [POST] and [GET]

  • Register a new client [POST] »» /api/signup
    Post model:
{
  "fullName": "string",
  "email": "string",
  "password": "string"
}



  • Client initiate session [POST] »» /api/login
    Post model:
{
  "email": "string",
  "password": "string"
}

  • Client ends session [POST] »» /api/logout



  • Return client's profile [GET] »» /api/myprofile



  • Return all clients in system [ONLY ALLOWED PASSING THE SECRET KEY AS PARAMETER]-> [GET] »» /api/client/all/{secretKey}
    secretKey by example on system = 3861



  • Return all accounts in system [ONLY ALLOWED PASSING THE SECRET KEY AS PARAMETER]-> [GET] »» /api/account/all/{secretKey}
    secretKey by example on system = 3861



  • Return client's account balance [GET] »» /api/account/myaccount



  • Register deposit transaction on client's account [POST] »» /api/account/myaccount/deposit
    Post model:
{
  "value": "0",
}



  • Register withdrawal transaction on client's account [POST] »» /api/account/myaccount/withdrawal
    Post model:
{
  "value": "0",
}



  • Return client account statment [GET] »» /api/account/myaccount/statement

Technology stack

  • Java 8
  • Spring Boot
  • PostgreSQL
  • Maven
  • Swagger

Author

About

Backend and REST API for a simple Banking Application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published