{"info":{"_postman_id":"c5011cba-1759-492d-aba6-43828628ce36","name":"Finance Dashboard Backend API","description":"<html><head></head><body><h3 id=\"welcome-to-postman-this-is-your-first-collection\">Welcome to Postman! This is your first collection.</h3>\n<p>Collections are your starting point for building and testing APIs. You can use this one to:</p>\n<p>• Group related requests<br>• Test your API in real-world scenarios<br>• Document and share your requests</p>\n<p>Update the name and overview whenever you’re ready to make it yours.</p>\n<p><a href=\"https://learning.postman.com/docs/collections/collections-overview/\">Learn more about Postman Collections.</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"53751102","collectionId":"c5011cba-1759-492d-aba6-43828628ce36","publishedId":"2sBXiqEUAx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-05T17:10:02.000Z"},"item":[{"name":"Login User","event":[{"listen":"test","script":{"id":"17f14c45-c1e9-4c26-a451-818c8482c5f3","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6636a0bf-ac71-471c-9452-4d5353716a37","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 5000,\r\n  \"type\": \"INCOME\",\r\n  \"category\": \"Salary\",\r\n  \"date\": \"2026-04-01T00:00:00.000Z\",\r\n  \"notes\": \"April salary\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/auth/login","description":"<p>This is a GET request and it is used to \"get\" data from an endpoint. There is no request body for a GET request, but you can use query parameters to help specify the resource you want data on (e.g., in this request, we have <code>id=1</code>).</p>\n<p>A successful GET response will have a <code>200 OK</code> status, and should include some kind of response body - for example, HTML web content or JSON data.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6636a0bf-ac71-471c-9452-4d5353716a37"},{"name":"Register User","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""]}}],"id":"bb5f4c63-fdf1-42b8-be86-495b23714905","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Add your name in the body\"\n}","options":{"raw":{"language":"json"}}},"url":"postman-echo.com/post","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"path":["post"],"host":["postman-echo","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb5f4c63-fdf1-42b8-be86-495b23714905"},{"name":"Create Record","id":"c3eb5353-56f9-48f5-8583-6d6494bdee28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 5000,\r\n  \"type\": \"INCOME\",\r\n  \"category\": \"Salary\",\r\n  \"date\": \"2026-04-01T00:00:00.000Z\",\r\n  \"notes\": \"April salary\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/records","urlObject":{"protocol":"http","port":"5000","path":["records"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3eb5353-56f9-48f5-8583-6d6494bdee28"},{"name":"Get Records","id":"448b34f1-5784-4d50-99ab-e07c3dd77d7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"GET http://localhost:5000/records","urlObject":{"protocol":"GET http","port":"5000","path":["records"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"448b34f1-5784-4d50-99ab-e07c3dd77d7c"},{"name":"Filter Records","id":"4f622722-66f5-4593-8199-75eb051019d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/records?type=INCOME","urlObject":{"protocol":"http","port":"5000","path":["records"],"host":["localhost"],"query":[{"key":"type","value":"INCOME"}],"variable":[]}},"response":[],"_postman_id":"4f622722-66f5-4593-8199-75eb051019d0"},{"name":"Update Record API","id":"7e9aae46-069c-4c5f-b446-eff7e95b3d7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 6000,\r\n  \"category\": \"Updated Salary\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/records/2","urlObject":{"protocol":"http","port":"5000","path":["records","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e9aae46-069c-4c5f-b446-eff7e95b3d7a"},{"name":"Delete Record API","id":"074057bc-7f91-460b-ab4a-6cb1a2c27b37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:5000/records/2","urlObject":{"protocol":"http","port":"5000","path":["records","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"074057bc-7f91-460b-ab4a-6cb1a2c27b37"},{"name":"Add Income","id":"07054f73-77f2-4a40-ba9c-a319a25fd442","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 8000,\r\n  \"type\": \"INCOME\",\r\n  \"category\": \"Salary\",\r\n  \"notes\": \"Monthly salary\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/records","urlObject":{"protocol":"http","port":"5000","path":["records"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"07054f73-77f2-4a40-ba9c-a319a25fd442"},{"name":"Add Expense","id":"9e217f5f-9477-4132-9798-6fd4b0851bad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 2000,\r\n  \"type\": \"EXPENSE\",\r\n  \"category\": \"Food\",\r\n  \"notes\": \"Groceries\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/records","urlObject":{"protocol":"http","port":"5000","path":["records"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e217f5f-9477-4132-9798-6fd4b0851bad"},{"name":"Summary API","id":"c228b571-8182-4e5b-a048-a8635bc762fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/dashboard/summary","urlObject":{"protocol":"http","port":"5000","path":["dashboard","summary"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c228b571-8182-4e5b-a048-a8635bc762fd"},{"name":"Categories API","id":"79b64721-4517-4fd1-8df6-535a1f24b5af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/dashboard/categories","urlObject":{"protocol":"http","port":"5000","path":["dashboard","categories"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"79b64721-4517-4fd1-8df6-535a1f24b5af"},{"name":"Recent API","id":"6d379ba5-312d-465e-addc-ad0413b1ef4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/dashboard/recent","urlObject":{"protocol":"http","port":"5000","path":["dashboard","recent"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d379ba5-312d-465e-addc-ad0413b1ef4a"}]}