Skip to content

thevanshjain/transactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

In-memory Rest APIs performing CRUD operation

Steps to build application

To build and run the application, run the following command

  • Build the application

    mvn clean package
  • A jar file will be created in target directory (Replace curly braces and add name of jar file with extension)

    java -jar {name of jar file}

Swagger Link : /swagger-ui

Endpoints

GET REQUEST -- All : /transaction

GET REQUEST BY ID : /transaction/{id}

POST REQUEST : /transaction

PUT REQUEST : /transaction/{id}

Delete REQUEST : /transaction/{id}

SAMPLE POST REQUEST via POSTMAN:

{
  "accountNumber": 123213,
  "type": "Credit",
  "amount": 2311,
  "currency": "INT",
  "accountFrom": 1124492
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages