Skip to content

Building rest api using javalin, Javalin is a light weight framework faster than spring boot

Notifications You must be signed in to change notification settings

tejas07/Javalin-RestApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javalin-RestApi

Building rest api using javalin, Javalin is a lightweight framework an alternative to build microservices.

API-Details

/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.

Json Specifications

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

Stack used

  1. Java 8
  2. Javalin Framework
  3. Maven
  4. Git
  5. Intellij
  6. Lombok

About

Building rest api using javalin, Javalin is a light weight framework faster than spring boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages