{"info":{"_postman_id":"ec646b81-b73b-4f54-8bd4-7e2e05fd0b5c","name":"MindBloom API","description":"<html><head></head><body><p><strong>MindBloom</strong> is a full-stack mental wellness platform that empowers users to monitor their emotional well-being, build positive habits, connect with a supportive community, and stay motivated through rewards and achievements. The API provides secure access to mood tracking, habit management, community interactions, gamified rewards, and personalized dashboard analytics.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"39216679","collectionId":"ec646b81-b73b-4f54-8bd4-7e2e05fd0b5c","publishedId":"2sBXwmRYck","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-27T13:49:29.000Z"},"item":[{"name":"Auth","item":[{"name":"Register User","id":"579a59d8-32df-45f7-b55c-4311832bd43f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"name\": \"Khushbu\",\r\n\"email\": \"khushbu@gmail.com\",\r\n\"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/register","description":"<p>Registers a new user. Returns a JWT token and basic user info (<code>id</code>, <code>name</code>, <code>email</code>).</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"514608ed-42f5-4ed9-b463-47952fa23a63","name":"Register User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"name\": \"Khushbu\",\r\n\"email\": \"khushbu@gmail.com\",\r\n\"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"269"},{"key":"ETag","value":"W/\"10d-raLAfiWUy/ZhVzoIzGjkzrNwwsM\""},{"key":"Date","value":"Wed, 27 May 2026 12:39:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"token\": \"token\",\n    \"user\": {\n        \"id\": \"id\",\n        \"name\": \"Khushbu\",\n        \"email\": \"khushbu@gmail.com\"\n    }\n}"}],"_postman_id":"579a59d8-32df-45f7-b55c-4311832bd43f"},{"name":"Login User","id":"ca130d74-3ce6-44de-951c-4901a918c01e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"email\": \"khushbu@gmail.com\",\r\n\"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/login","description":"<p>Logs in an existing user. Returns a JWT token and basic user info (<code>id</code>, <code>name</code>, <code>email</code>).</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0c5bb1de-32e2-45ab-8583-13b3978c127b","name":"Login User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"email\": \"khushbu@gmail.com\",\r\n\"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"269"},{"key":"ETag","value":"W/\"10d-D0wtLbdcim57Kcpfjz7WrFsFy+4\""},{"key":"Date","value":"Wed, 27 May 2026 12:39:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"token\",\n    \"user\": {\n        \"id\": \"id\",\n        \"name\": \"Khushbu\",\n        \"email\": \"khushbu@gmail.com\"\n    }\n}"}],"_postman_id":"ca130d74-3ce6-44de-951c-4901a918c01e"}],"id":"8a79cf57-259e-4e9e-a283-7a4dbcf85925","description":"<p>The Authentication module manages user registration and login. It provides secure account creation and authentication, allowing users to access protected MindBloom features through JSON Web Token (JWT) based authorization.</p>\n<h3 id=\"available-endpoints\">Available Endpoints</h3>\n<ul>\n<li><p>Register a new user account</p>\n</li>\n<li><p>Authenticate existing users and issue access tokens</p>\n</li>\n</ul>\n","_postman_id":"8a79cf57-259e-4e9e-a283-7a4dbcf85925"},{"name":"Moods","item":[{"name":"Log a Mood","id":"1e549a34-87aa-4b29-b903-91ff4f3d8cb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"mood\": \"happy\",\r\n  \"intensity\": 8,\r\n  \"note\": \"Had a great day!\",\r\n  \"tags\": [\"work\", \"exercise\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/moods","description":"<p>Creates a new mood log entry for the authenticated user. <code>mood</code> can be one of: <code>happy</code>, <code>excited</code>, <code>calm</code>, <code>sad</code>, <code>anxious</code>, <code>angry</code>, <code>tired</code>, <code>neutral</code>. <code>intensity</code> is a number (1–10).</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","moods"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"18c72388-0d8b-47f9-9528-c41433952dbc","name":"Log a Mood","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"mood\": \"happy\",\r\n  \"intensity\": 8,\r\n  \"note\": \"Had a great day!\",\r\n  \"tags\": [\"work\", \"exercise\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/moods"},"status":"Created","code":201,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"236"},{"key":"ETag","value":"W/\"ec-hcqqWntvwWDAEf+GhCcAHPk2Vi8\""},{"key":"Date","value":"Wed, 27 May 2026 12:51:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"user\": \"id\",\n    \"mood\": \"happy\",\n    \"intensity\": 8,\n    \"note\": \"Had a great day!\",\n    \"tags\": [\n        \"work\",\n        \"exercise\"\n    ],\n    \"_id\": \"id\",\n    \"createdAt\": \"2026-05-27T12:51:58.768Z\",\n    \"updatedAt\": \"2026-05-27T12:51:58.768Z\",\n    \"__v\": 0\n}"}],"_postman_id":"1e549a34-87aa-4b29-b903-91ff4f3d8cb2"},{"name":"Get Mood Logs","id":"725dbfca-3dc1-45c2-a695-38bdf33c69f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"http://localhost:5000/api/moods","description":"<p>Retrieves the 10 most recent mood logs for the authenticated user, sorted by newest first.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","moods"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"70ef37dc-dd67-4a3e-88e0-7784d3795da7","name":"Get Mood Logs","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"http://localhost:5000/api/moods"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"238"},{"key":"ETag","value":"W/\"ee-tjVoRCLQ2l4YJFTTy8OQHAKHx2I\""},{"key":"Date","value":"Wed, 27 May 2026 12:54:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"_id\": \"id\",\n        \"user\": \"id\",\n        \"mood\": \"happy\",\n        \"intensity\": 8,\n        \"note\": \"Had a great day!\",\n        \"tags\": [\n            \"work\",\n            \"exercise\"\n        ],\n        \"createdAt\": \"2026-05-27T12:51:58.768Z\",\n        \"updatedAt\": \"2026-05-27T12:51:58.768Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"725dbfca-3dc1-45c2-a695-38bdf33c69f2"}],"id":"872412f6-c5d8-4d18-b88d-7c6c6aa426a2","description":"<p>The Moods module allows users to record and monitor their emotional well-being. Users can log moods with notes and retrieve their mood history to identify emotional patterns and track mental wellness over time.</p>\n<h3 id=\"available-endpoints\">Available Endpoints</h3>\n<ul>\n<li><p>Create a mood log</p>\n</li>\n<li><p>Retrieve mood history</p>\n</li>\n</ul>\n","_postman_id":"872412f6-c5d8-4d18-b88d-7c6c6aa426a2"},{"name":"Habits","item":[{"name":"Get All Habits","id":"4d2a54d6-a546-4aef-a18c-2093cb1d5b5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/habits","description":"<p>Retrieves all habits sorted by creation date (newest first).</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","habits"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"69b9f246-999c-4b30-9017-21356724ed7a","name":"Get All Habits","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/habits"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"262"},{"key":"ETag","value":"W/\"106-07bSmHxE6+1ze5cqX+bRaikF8OU\""},{"key":"Date","value":"Wed, 27 May 2026 12:55:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"_id\": \"id\",\n        \"name\": \"Go for a walk\",\n        \"description\": \"\",\n        \"icon\": \"🚶\",\n        \"type\": \"daily\",\n        \"completed\": true,\n        \"streak\": 1,\n        \"lastCompleted\": \"2026-03-12T04:41:01.845Z\",\n        \"createdAt\": \"2026-03-12T04:40:54.801Z\",\n        \"updatedAt\": \"2026-03-12T04:41:01.845Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"4d2a54d6-a546-4aef-a18c-2093cb1d5b5c"},{"name":"Create a Habit","id":"68a77b74-209b-48ee-938a-5c222c5833b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Morning Meditation\",\r\n  \"type\": \"daily\",\r\n  \"icon\": \"🧘\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/habits","description":"<p>Creates a new habit. <code>type</code> can be <code>\"daily\"</code> or <code>\"weekly\"</code>.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","habits"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"52e13f39-da76-4802-baa7-79b45a5d71f8","name":"Create a Habit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Morning Meditation\",\r\n  \"type\": \"daily\",\r\n  \"icon\": \"🧘\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/habits"},"status":"Created","code":201,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"227"},{"key":"ETag","value":"W/\"e3-jP5e+yla9QgNBkVzQW33j+gOEBg\""},{"key":"Date","value":"Wed, 27 May 2026 12:57:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"name\": \"Morning Meditation\",\n    \"icon\": \"🧘\",\n    \"type\": \"daily\",\n    \"completed\": false,\n    \"streak\": 0,\n    \"lastCompleted\": null,\n    \"_id\": \"id\",\n    \"createdAt\": \"2026-05-27T12:57:09.063Z\",\n    \"updatedAt\": \"2026-05-27T12:57:09.063Z\",\n    \"__v\": 0\n}"}],"_postman_id":"68a77b74-209b-48ee-938a-5c222c5833b2"},{"name":"Update a Habit","id":"2602e5fd-813f-48bf-b62c-0f97c1eb366d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Evening Walk\",\r\n  \"type\": \"daily\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/habits/(id)","description":"<p>Updates an existing habit by its MongoDB <code>_id</code>. Returns the updated habit object.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","habits","(id)"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0ab33669-7eab-4144-b313-cb28bda9c538","name":"Update a Habit","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Evening Walk\",\r\n  \"type\": \"daily\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/habits/(id)"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"259"},{"key":"ETag","value":"W/\"103-MPuXjbKT2Q23PeUO9PNlYf2u6Z8\""},{"key":"Date","value":"Wed, 27 May 2026 12:59:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"_id\": \"id\",\n    \"name\": \"Evening Walk\",\n    \"description\": \"\",\n    \"icon\": \"🚶\",\n    \"type\": \"daily\",\n    \"completed\": true,\n    \"streak\": 1,\n    \"lastCompleted\": \"2026-03-12T04:41:01.845Z\",\n    \"createdAt\": \"2026-03-12T04:40:54.801Z\",\n    \"updatedAt\": \"2026-05-27T12:59:10.961Z\",\n    \"__v\": 0\n}"}],"_postman_id":"2602e5fd-813f-48bf-b62c-0f97c1eb366d"},{"name":"Delete a Habit","id":"683370e3-882e-4195-8024-c46668233452","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/api/habits/(id)","description":"<p>Deletes a habit by its MongoDB <code>_id</code>. Returns a success message.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","habits","(id)"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"07d1754d-6dbc-4f2e-9682-2ec8c8e333f1","name":"Delete a Habit","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:5000/api/habits/(id)"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"27"},{"key":"ETag","value":"W/\"1b-OTpn992dVy0W0KVxR7MeZcLciJo\""},{"key":"Date","value":"Wed, 27 May 2026 13:00:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Habit deleted\"\n}"}],"_postman_id":"683370e3-882e-4195-8024-c46668233452"},{"name":"Toggle Habit Completion","id":"94216b6d-92e8-4cb4-aa4a-0fdf986d50c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"http://localhost:5000/api/habits/toggle/(id)","description":"<p>Marks a habit as completed (if not already done). Increments the streak counter and updates <code>lastCompleted</code>. Once marked complete, it cannot be toggled again until it resets.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","habits","toggle","(id)"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2a71d74b-67fa-4617-84a2-c2102e88e802","name":"Toggle Habit Completion","originalRequest":{"method":"PATCH","header":[],"url":"http://localhost:5000/api/habits/toggle/(id)"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"248"},{"key":"ETag","value":"W/\"f8-Wd8zHcw9qkuZGSG3WLC0ylIf4p4\""},{"key":"Date","value":"Wed, 27 May 2026 13:01:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"_id\": \"id\",\n    \"name\": \"Morning Meditation\",\n    \"icon\": \"🧘\",\n    \"type\": \"daily\",\n    \"completed\": true,\n    \"streak\": 1,\n    \"lastCompleted\": \"2026-05-27T13:01:59.327Z\",\n    \"createdAt\": \"2026-05-27T12:57:09.063Z\",\n    \"updatedAt\": \"2026-05-27T13:01:59.328Z\",\n    \"__v\": 0\n}"}],"_postman_id":"94216b6d-92e8-4cb4-aa4a-0fdf986d50c1"}],"id":"4dec23b9-bb1c-4a05-a3fb-67179e063181","description":"<p>The Habits module helps users build and maintain positive routines by creating, tracking, and managing habits. Users can monitor progress, maintain streaks, and mark habits as completed to encourage consistency and personal growth.</p>\n<h3 id=\"available-endpoints\">Available Endpoints</h3>\n<ul>\n<li><p>Retrieve all habits</p>\n</li>\n<li><p>Create a new habit</p>\n</li>\n<li><p>Update an existing habit</p>\n</li>\n<li><p>Delete a habit</p>\n</li>\n<li><p>Toggle habit completion status</p>\n</li>\n</ul>\n","_postman_id":"4dec23b9-bb1c-4a05-a3fb-67179e063181"},{"name":"Posts","item":[{"name":"Get All Posts","id":"e49752fc-4148-4f4c-ab95-2b33ae4ec2df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/posts","description":"<p>Retrieves all community posts sorted by newest first.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3cd86b11-8365-4060-921e-42ab827422c3","name":"Get All Posts","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/posts"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1445"},{"key":"ETag","value":"W/\"5a5-CNuPZ0H+uvXb2q8olJcg+u8dB0A\""},{"key":"Date","value":"Wed, 27 May 2026 13:03:13 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"_id\": \"id\",\n        \"author\": \"Khushbu\",\n        \"avatar\": \"https://api.dicebear.com/7.x/avataaars/svg?seed=8315\",\n        \"title\": \"Positive Energy\",\n        \"content\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\\n\\nIt is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).\",\n        \"likes\": 0,\n        \"createdAt\": \"2026-03-11T07:38:40.012Z\",\n        \"updatedAt\": \"2026-03-11T07:39:07.116Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"e49752fc-4148-4f4c-ab95-2b33ae4ec2df"},{"name":"Create a Post","id":"af07cf72-66e4-4967-9dcf-906adb9bc8d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"author\": \"Khushbu\",\r\n  \"title\": \"My Wellness Journey\",\r\n  \"content\": \"Today I completed all my habits and feel amazing!\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/posts","description":"<p>Creates a new community post. <code>author</code> defaults to <code>\"Anonymous\"</code> if not provided. A random DiceBear avatar is auto-generated.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e7344ec0-aa02-46a9-8f4c-fb9eca33acd3","name":"Create a Post","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"author\": \"Khushbu\",\r\n  \"title\": \"My Wellness Journey\",\r\n  \"content\": \"Today I completed all my habits and feel amazing!\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/posts"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"305"},{"key":"ETag","value":"W/\"131-LziN4b2plgV6eSLrDW42FA4kfas\""},{"key":"Date","value":"Wed, 27 May 2026 13:04:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"author\": \"Khushbu\",\n    \"avatar\": \"https://api.dicebear.com/7.x/avataaars/svg?seed=6987\",\n    \"title\": \"My Wellness Journey\",\n    \"content\": \"Today I completed all my habits and feel amazing!\",\n    \"likes\": 0,\n    \"_id\": \"6a16ebdef50c73ac064953b2\",\n    \"createdAt\": \"2026-05-27T13:04:30.820Z\",\n    \"updatedAt\": \"2026-05-27T13:04:30.820Z\",\n    \"__v\": 0\n}"}],"_postman_id":"af07cf72-66e4-4967-9dcf-906adb9bc8d0"},{"name":"Like / Unlike a Post","id":"6fdb3c40-b785-4030-ad18-414b046dfa52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"action\": \"like\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/posts/like/(id)","description":"<p>Toggles the like count on a post. Send <code>\"like\"</code> to increment, <code>\"unlike\"</code> to decrement (won't go below 0).</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","posts","like","(id)"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ad8646d8-209f-4866-88e2-23760310847d","name":"Like / Unlike a Post","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"action\": \"like\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/posts/like/(id)"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"305"},{"key":"ETag","value":"W/\"131-Kyru+IaiQtuLa/Gq0XcgMY4KhRM\""},{"key":"Date","value":"Wed, 27 May 2026 13:06:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"_id\": \"id\",\n    \"author\": \"Khushbu\",\n    \"avatar\": \"https://api.dicebear.com/7.x/avataaars/svg?seed=6987\",\n    \"title\": \"My Wellness Journey\",\n    \"content\": \"Today I completed all my habits and feel amazing!\",\n    \"likes\": 1,\n    \"createdAt\": \"2026-05-27T13:04:30.820Z\",\n    \"updatedAt\": \"2026-05-27T13:06:19.597Z\",\n    \"__v\": 0\n}"}],"_postman_id":"6fdb3c40-b785-4030-ad18-414b046dfa52"}],"id":"d96f83f5-1c5e-4fe0-9cb1-dfadda63e6c5","description":"<p>The Posts module powers the MindBloom community experience. Users can create anonymous posts, share thoughts and experiences, and engage with others through likes, fostering a supportive and encouraging environment.</p>\n<h3 id=\"available-endpoints\">Available Endpoints</h3>\n<ul>\n<li><p>Retrieve community posts</p>\n</li>\n<li><p>Create a new post</p>\n</li>\n<li><p>Like or unlike a post</p>\n</li>\n</ul>\n","_postman_id":"d96f83f5-1c5e-4fe0-9cb1-dfadda63e6c5"},{"name":"Rewards","item":[{"name":"Get Rewards Data","id":"3325690f-2206-4516-bc25-dea806d5a928","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/rewards","description":"<p>Returns the user's XP, level, Bloom Points, next level XP threshold, and a list of achievements (unlocked/locked) based on mood logs, habit streaks, and community posts.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","rewards"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3384fa82-90cb-4685-8158-93c3e85ba806","name":"Get Rewards Data","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/rewards"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"866"},{"key":"ETag","value":"W/\"362-dRBQI4Tvhh8jWKWV8jkmUHtFZBE\""},{"key":"Date","value":"Wed, 27 May 2026 13:07:31 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"userProgress\": {\n        \"level\": 1,\n        \"currentXP\": 65,\n        \"nextLevelXP\": 100,\n        \"bloomPoints\": 140\n    },\n    \"achievements\": [\n        {\n            \"id\": 1,\n            \"title\": \"First Step\",\n            \"description\": \"Log your first mood\",\n            \"icon\": \"🌱\",\n            \"unlocked\": true,\n            \"category\": \"mood\",\n            \"xp\": 50,\n            \"progress\": 2,\n            \"total\": 1\n        },\n        {\n            \"id\": 2,\n            \"title\": \"Week Warrior\",\n            \"description\": \"Maintain a 7-day streak\",\n            \"icon\": \"🔥\",\n            \"unlocked\": false,\n            \"category\": \"streaks\",\n            \"xp\": 100,\n            \"progress\": 1,\n            \"total\": 7\n        },\n        {\n            \"id\": 3,\n            \"title\": \"Mood Master\",\n            \"description\": \"Log 30 mood entries\",\n            \"icon\": \"💭\",\n            \"unlocked\": false,\n            \"category\": \"mood\",\n            \"xp\": 150,\n            \"progress\": 2,\n            \"total\": 30\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Habit Hero\",\n            \"description\": \"Complete all daily habits for 7 days\",\n            \"icon\": \"⭐\",\n            \"unlocked\": false,\n            \"category\": \"habits\",\n            \"xp\": 200,\n            \"progress\": 1,\n            \"total\": 7\n        },\n        {\n            \"id\": 5,\n            \"title\": \"Community Champion\",\n            \"description\": \"Make 10 posts\",\n            \"icon\": \"🤝\",\n            \"unlocked\": false,\n            \"category\": \"community\",\n            \"xp\": 150,\n            \"progress\": 2,\n            \"total\": 10\n        }\n    ]\n}"}],"_postman_id":"3325690f-2206-4516-bc25-dea806d5a928"}],"id":"3b99d5e6-fba8-4600-ba2e-4d8a1ac11558","description":"<p>The Rewards module tracks user achievements and Bloom Points earned through platform activity. It encourages engagement by rewarding consistency, habit completion, mood logging, and other wellness milestones.</p>\n<h3 id=\"available-endpoints\">Available Endpoints</h3>\n<ul>\n<li><p>Retrieve earned rewards</p>\n</li>\n<li><p>Retrieve achievements and progress</p>\n</li>\n</ul>\n","_postman_id":"3b99d5e6-fba8-4600-ba2e-4d8a1ac11558"},{"name":"Dashboard","item":[{"name":"Get Dashboard Data","id":"c93aa32b-f306-4486-aec4-b9b34eda6468","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/dashboard","description":"<p>Returns a consolidated summary for the dashboard: latest mood, mood chart data (last 7 entries), today's habits (up to 4), completed habits count, max streak, earned achievements, and Bloom Points.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","dashboard"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5b57ba6f-f472-4566-a728-079d0fa38c1c","name":"Get Dashboard Data","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/dashboard"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"657"},{"key":"ETag","value":"W/\"291-Katzd5pRoIgoK9XstGcj0u3wy1c\""},{"key":"Date","value":"Wed, 27 May 2026 13:09:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"latestMood\": {\n        \"emoji\": \"😊\",\n        \"label\": \"Happy\"\n    },\n    \"moodData\": [\n        {\n            \"day\": \"Wed\",\n            \"emoji\": \"😊\",\n            \"value\": 6\n        },\n        {\n            \"day\": \"Wed\",\n            \"emoji\": \"😊\",\n            \"value\": 8\n        }\n    ],\n    \"habits\": [\n        {\n            \"_id\": \"6a16ea25f50c73ac064953ab\",\n            \"name\": \"Morning Meditation\",\n            \"icon\": \"🧘\",\n            \"type\": \"daily\",\n            \"completed\": true,\n            \"streak\": 1,\n            \"lastCompleted\": \"2026-05-27T13:01:59.327Z\",\n            \"createdAt\": \"2026-05-27T12:57:09.063Z\",\n            \"updatedAt\": \"2026-05-27T13:01:59.328Z\",\n            \"__v\": 0\n        }\n    ],\n    \"completedToday\": 1,\n    \"maxStreak\": 1,\n    \"achievements\": [\n        {\n            \"title\": \"First Step\",\n            \"description\": \"Logged your first mood\",\n            \"icon\": \"🌱\",\n            \"color\": \"#6FD89C\"\n        },\n        {\n            \"title\": \"Community Voice\",\n            \"description\": \"Shared your thoughts\",\n            \"icon\": \"💬\",\n            \"color\": \"#7BA5D6\"\n        }\n    ],\n    \"bloomPoints\": 140\n}"}],"_postman_id":"c93aa32b-f306-4486-aec4-b9b34eda6468"}],"id":"e8757810-9d76-4e1a-9e6e-01f61e0dfae1","description":"<p>The Dashboard module provides a centralized overview of a user's wellness journey. It aggregates key insights from mood tracking, habit progress, rewards, and achievements into a single summary endpoint for quick access to personalized statistics.</p>\n<h3 id=\"available-endpoints\">Available Endpoints</h3>\n<ul>\n<li><p>Retrieve complete dashboard summary</p>\n</li>\n<li><p>View wellness statistics and progress insights</p>\n</li>\n</ul>\n","_postman_id":"e8757810-9d76-4e1a-9e6e-01f61e0dfae1"}]}