Building rest api using javalin, Javalin is a lightweight framework an alternative to build microservices.
/fetch-account-holders : Retrives list of all the account holders.
/fetch-individual-account/:accountno: Retrives account info w.r.t account no.
/transfer-money: Account holders can transfer money to other account.
/create-account: New account can be created.
To create account
localhost:7000/create-account { "accName":"Simon Sinek", "amount":5000 }
To Transfer Money
localhost:7000/transfer-money { "fromAccNo":1, "toAccNo":2, "amount":5000 }
To list all the account holder username
localhost:7000/fetch-account-holders
To fetch individual account
localhost:7000//fetch-individual-account/1
- Java 8
- Javalin Framework
- Maven
- Git
- Intellij
- Lombok