⚠️
Prototype / Demo Interface
This is not the final UI — it's built solely to demonstrate and test the REST API endpoints. All requests hit a live backend and are connected to a real database. Changes made here (create, update, delete) will persist.
DB Connected
Finance API
Testing Console
zorvynassignment-production-1108.up.railway.app
Sarthak Rathi
↗ Resume
01 Authentication

Register User — Public

POST https://zorvynassignment-production-1108.up.railway.app/api/auth/register
HeadersContent-Type: application/json Body{ "username": "string", "password": "string", "role": "VIEWER" // VIEWER | ANALYST | ADMIN }
Output will appear here...
02 Dashboard

Get Summary — Analyst / Admin Only

GET https://zorvynassignment-production-1108.up.railway.app/api/dashboard/summary
HeadersAuthorization: Basic <base64_credentials> BodyNone
🔐 Auth
Output will appear here...
03 Transactions

Get All Transactions (With Optional Filters)

GET https://zorvynassignment-production-1108.up.railway.app/api/transactions?type={type}&category={category}&date={date}
HeadersAuthorization: Basic <base64_credentials> BodyNone — use query params above
🔐 Auth
Output will appear here...

Get Transaction by ID

GET https://zorvynassignment-production-1108.up.railway.app/api/transactions/{id}
HeadersAuthorization: Basic <base64_credentials> BodyNone
🔐 Auth
Output will appear here...

Create Transaction — Admin Only

POST https://zorvynassignment-production-1108.up.railway.app/api/transactions
HeadersContent-Type: application/json Authorization: Basic <base64_credentials> Body{ "amount": 5000.00, "type": "INCOME", // INCOME | EXPENSE "category": "Salary", "date": "2026-04-04", "description": "Optional string" }
🔐 Auth
Output will appear here...

Update Transaction — Admin Only

PUT https://zorvynassignment-production-1108.up.railway.app/api/transactions/{id}
HeadersContent-Type: application/json Authorization: Basic <base64_credentials> Body{ "amount": 5500.00, "type": "INCOME", "category": "Salary", "date": "2026-04-04", "description": "Updated description" }
🔐 Auth
Output will appear here...

Delete Transaction — Admin Only

DELETE https://zorvynassignment-production-1108.up.railway.app/api/transactions/{id}
HeadersAuthorization: Basic <base64_credentials> BodyNone
🔐 Auth
Output will appear here...
04 User Management

Get All Users — Admin Only

GET https://zorvynassignment-production-1108.up.railway.app/api/users
HeadersAuthorization: Basic <base64_credentials> BodyNone
🔐 Auth
Output will appear here...

Get User by ID — Admin Only

GET https://zorvynassignment-production-1108.up.railway.app/api/users/{id}
HeadersAuthorization: Basic <base64_credentials> BodyNone
🔐 Auth
Output will appear here...

Update User Status / Role — Admin Only

PUT https://zorvynassignment-production-1108.up.railway.app/api/users/{id}
HeadersContent-Type: application/json Authorization: Basic <base64_credentials> Body(All fields optional — send only what you want to change) { "role": "ANALYST", // VIEWER | ANALYST | ADMIN "status": "INACTIVE" // ACTIVE | INACTIVE }
🔐 Auth
Output will appear here...

Delete User — Admin Only

DELETE https://zorvynassignment-production-1108.up.railway.app/api/users/{id}
HeadersAuthorization: Basic <base64_credentials> BodyNone
🔐 Auth
Output will appear here...