{"info":{"_postman_id":"f860a947-e26f-47f4-927b-37ac1a6aa553","name":"PMApp","description":"<html><head></head><body><p><strong>Nama:</strong> API Project Managament App</p>\n<p><strong>Deskripsi:</strong> \"Dokumentasi RESTful API untuk aplikasi manajemen projek, mencakup operasi CRUD (Create, Read, Update, Delete) pada data projek dan task.\".</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10669216","collectionId":"f860a947-e26f-47f4-927b-37ac1a6aa553","publishedId":"2sBXVhDAjB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-01-15T01:41:01.000Z"},"item":[{"name":"Auth","item":[{"name":"register","id":"cfeb3b4c-99f5-49fd-80d0-c383048dc6c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Ruri\",\r\n    \"password\":\"12345678\",\r\n    \"email\":\"ruri.pelinandang@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/register","description":"<h3 id=\"register-user\"><strong>Register User</strong></h3>\n<p>Mendaftarkan akun baru ke sistem.</p>\n","urlObject":{"path":["auth","register"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"adfe1a0e-b224-48e2-9701-99bb3e08662a","name":"register","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Ruri 2\",\r\n    \"password\":\"12345678\",\r\n    \"email\":\"ruri.pelinandang2@mail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"313"},{"key":"ETag","value":"W/\"139-EgOkNtjnQCG3Wa2qeu7021nqPN8\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:38:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User registered successfully\",\n    \"data\": {\n        \"name\": \"Ruri 2\",\n        \"email\": \"ruri.pelinandang2@mail.com\",\n        \"password\": \"$2b$10$mV15sTQTFPq5xewigwYXp./gfrtkma.kv.PW41f4fBt/YEycLij1m\",\n        \"role\": \"member\",\n        \"_id\": \"6968995a374f43a8b1769b8f\",\n        \"createdAt\": \"2026-01-15T07:38:02.336Z\",\n        \"updatedAt\": \"2026-01-15T07:38:02.336Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"cfeb3b4c-99f5-49fd-80d0-c383048dc6c4"},{"name":"login","id":"c992c534-339a-45f6-be97-0d845223d0e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"ruri.pelinandang@gmail.com\",\r\n    // \"name\":\"ruri\",\r\n    \"password\":\"12345678\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/login","description":"<h3 id=\"login-user\"><strong>Login User</strong></h3>\n<p>Mendapatkan token akses untuk sesi pengguna. Bisa Login menggunakan <em><strong>name</strong></em> atau <em><strong>email</strong></em>.</p>\n","urlObject":{"path":["auth","login"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"97879d59-0975-4348-bb10-42ce21b8057d","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"ruri.pelinandang@mail.com\",\r\n    // \"name\":\"member1\",\r\n    \"password\":\"12345678\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"185"},{"key":"ETag","value":"W/\"b9-lWTT7fjXhBPak0oOkjrTU2gu6WM\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:37:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Login success\",\n    \"data\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5NjZlMjBkNDg3NDM3ZDYzYTQ5MGJhYSIsImlhdCI6MTc2ODQ2MjY1NX0.sUPcdotfifdfEqFYR_aE-L_lcbasnjtnXjGZ0mSR9MY\"\n}"}],"_postman_id":"c992c534-339a-45f6-be97-0d845223d0e6"}],"id":"c1cf718f-bfd3-40c2-bb2a-2bb79ed6f1a9","description":"<ul>\n<li><p><strong>Nama Koleksi:</strong> Auth</p>\n</li>\n<li><p><strong>Deskripsi:</strong> \"Koleksi ini berisi endpoint untuk mengelola registrasi dan login pengguna. Digunakan untuk autentikasi dan pengambilan data profil pengguna.\"</p>\n</li>\n</ul>\n","_postman_id":"c1cf718f-bfd3-40c2-bb2a-2bb79ed6f1a9"},{"name":"Project","item":[{"name":"project","id":"00b64ca4-9bff-4538-8f8c-2dc5802f78a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Project 1\",\r\n    \"description\":\"Description Project 1\",\r\n    \"deadline\":\"2026-03-20\",\r\n    \"createdBy\":\"697ea339a8b0dd85c29d6ca8\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/project","description":"<p>Membuat nama projek baru, bisa dilakukan hanya oleh admin.</p>\n","urlObject":{"path":["project"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"cdfdd2b5-ab1b-4622-bcea-ea9055868e3d","name":"project","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Project 2\",\r\n    \"description\":\"Description Project 2\",\r\n    \"deadline\":\"2026-01-20\",\r\n    \"createdBy\":\"6966e20d487437d63a490baa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/project"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"323"},{"key":"ETag","value":"W/\"143-LTh+gRONj0UaynOVdyu8V7iz0kk\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:34:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Project created successfully\",\n    \"data\": {\n        \"name\": \"Project 2\",\n        \"description\": \"Description Project 2\",\n        \"deadline\": \"2026-01-20T00:00:00.000Z\",\n        \"createdBy\": \"6966e20d487437d63a490baa\",\n        \"status\": \"pending\",\n        \"_id\": \"69689882374f43a8b1769b80\",\n        \"createdAt\": \"2026-01-15T07:34:26.480Z\",\n        \"updatedAt\": \"2026-01-15T07:34:26.480Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"00b64ca4-9bff-4538-8f8c-2dc5802f78a7"},{"name":"projectAll","id":"ba69dbee-c82d-4533-8bd3-03cc04c1f889","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{BASE_URL}}/project","description":"<p>Melihat semua nama projek, bisa dilihat oleh admin dan member.</p>\n","urlObject":{"path":["project"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"e48824dc-f033-4d8c-a1dd-6a0dc914377b","name":"projectAll","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/project"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"884"},{"key":"ETag","value":"W/\"374-aoGnBPsKpOS/r5Ea/YRCDvvNYAQ\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:36:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Get projects successfully\",\n    \"data\": [\n        {\n            \"_id\": \"6966e8a38380c5af47fca83f\",\n            \"name\": \"Project 1\",\n            \"description\": \"Description Project 1\",\n            \"deadline\": \"2026-01-20T00:00:00.000Z\",\n            \"createdBy\": {\n                \"_id\": \"6966e20d487437d63a490baa\",\n                \"name\": \"Ruri\",\n                \"email\": \"ruri.pelinandang@mail.com\",\n                \"createdAt\": \"2026-01-14T00:23:41.788Z\",\n                \"updatedAt\": \"2026-01-14T00:23:41.788Z\",\n                \"__v\": 0\n            },\n            \"status\": \"pending\",\n            \"createdAt\": \"2026-01-14T00:51:47.172Z\",\n            \"updatedAt\": \"2026-01-14T00:51:47.172Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"69689882374f43a8b1769b80\",\n            \"name\": \"Project 2\",\n            \"description\": \"Description Project 2\",\n            \"deadline\": \"2026-01-20T00:00:00.000Z\",\n            \"createdBy\": {\n                \"_id\": \"6966e20d487437d63a490baa\",\n                \"name\": \"Ruri\",\n                \"email\": \"ruri.pelinandang@mail.com\",\n                \"createdAt\": \"2026-01-14T00:23:41.788Z\",\n                \"updatedAt\": \"2026-01-14T00:23:41.788Z\",\n                \"__v\": 0\n            },\n            \"status\": \"pending\",\n            \"createdAt\": \"2026-01-15T07:34:26.480Z\",\n            \"updatedAt\": \"2026-01-15T07:34:26.480Z\",\n            \"__v\": 0\n        }\n    ]\n}"},{"id":"4f7b6e4a-adeb-40d4-ac42-b927bb57b966","name":"projectAll","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/project"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"739"},{"key":"ETag","value":"W/\"2e3-zuNF+IPn+VZNObpSfBsKOHlxk1E\""},{"key":"Date","value":"Fri, 16 Jan 2026 00:04:05 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Get projects successfully\",\n    \"data\": [\n        {\n            \"_id\": \"6966e8a38380c5af47fca83f\",\n            \"name\": \"Project edit\",\n            \"description\": \"Description Project Edit\",\n            \"deadline\": \"2026-01-12T00:00:00.000Z\",\n            \"createdBy\": null,\n            \"status\": \"pending\",\n            \"createdAt\": \"2026-01-14T00:51:47.172Z\",\n            \"updatedAt\": \"2026-01-15T07:40:50.781Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"69689882374f43a8b1769b80\",\n            \"name\": \"Project 2\",\n            \"description\": \"Description Project 2\",\n            \"deadline\": \"2026-01-20T00:00:00.000Z\",\n            \"createdBy\": {\n                \"_id\": \"6966e20d487437d63a490baa\",\n                \"name\": \"Ruri\",\n                \"email\": \"ruri.pelinandang@mail.com\",\n                \"role\": \"admin\",\n                \"createdAt\": \"2026-01-14T00:23:41.788Z\",\n                \"updatedAt\": \"2026-01-14T00:23:41.788Z\",\n                \"__v\": 0\n            },\n            \"status\": \"pending\",\n            \"createdAt\": \"2026-01-15T07:34:26.480Z\",\n            \"updatedAt\": \"2026-01-15T07:34:26.480Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"ba69dbee-c82d-4533-8bd3-03cc04c1f889"},{"name":"projectById","id":"b2327979-4e9d-417b-aafc-6d409ba081e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{BASE_URL}}/project/697ea3dba8b0dd85c29d6cad","description":"<p>Melihat sebuah projek berdasarkan {Id}, bisa dilihat oleh admin dan member.</p>\n","urlObject":{"path":["project","697ea3dba8b0dd85c29d6cad"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"50f034b6-2c5f-456c-97a0-1d84838c1707","name":"projectById","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/project/69689882374f43a8b1769b80"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"478"},{"key":"ETag","value":"W/\"1de-o1bD0r9QMBYiVysSdkQ5iHRlQS8\""},{"key":"Date","value":"Fri, 16 Jan 2026 00:05:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Get project successfully\",\n    \"data\": {\n        \"_id\": \"69689882374f43a8b1769b80\",\n        \"name\": \"Project 2\",\n        \"description\": \"Description Project 2\",\n        \"deadline\": \"2026-01-20T00:00:00.000Z\",\n        \"createdBy\": {\n            \"_id\": \"6966e20d487437d63a490baa\",\n            \"name\": \"Ruri\",\n            \"email\": \"ruri.pelinandang@mail.com\",\n            \"role\": \"admin\",\n            \"createdAt\": \"2026-01-14T00:23:41.788Z\",\n            \"updatedAt\": \"2026-01-14T00:23:41.788Z\",\n            \"__v\": 0\n        },\n        \"status\": \"pending\",\n        \"createdAt\": \"2026-01-15T07:34:26.480Z\",\n        \"updatedAt\": \"2026-01-15T07:34:26.480Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"b2327979-4e9d-417b-aafc-6d409ba081e5"},{"name":"projectUpdate","id":"9da2aca3-9703-444d-aba5-1579e688a51c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Project edit\",\r\n    \"description\":\"Description Project Edit\",\r\n    \"deadline\":\"2026-03-12\",\r\n    \"createdBy\":\"697ea339a8b0dd85c29d6ca8\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/project/697ea3dba8b0dd85c29d6cad","description":"<p>Merubah object, hanya bisa dilakukan oleh admin.</p>\n","urlObject":{"path":["project","697ea3dba8b0dd85c29d6cad"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"42f064c2-3b5a-4b8d-ae51-1b725a8e3fcb","name":"projectUpdate","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Project edit\",\r\n    \"description\":\"Description Project Edit\",\r\n    \"deadline\":\"2026-01-12\",\r\n    \"createdBy\":\"695f08a565c3aaaa8117d712\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/project/6966e8a38380c5af47fca83f"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"328"},{"key":"ETag","value":"W/\"148-cmYXqQ+CbCD5p3L6VzsrL7Ck5RM\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:40:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Update project successfully\",\n    \"data\": {\n        \"_id\": \"6966e8a38380c5af47fca83f\",\n        \"name\": \"Project edit\",\n        \"description\": \"Description Project Edit\",\n        \"deadline\": \"2026-01-12T00:00:00.000Z\",\n        \"createdBy\": \"695f08a565c3aaaa8117d712\",\n        \"status\": \"pending\",\n        \"createdAt\": \"2026-01-14T00:51:47.172Z\",\n        \"updatedAt\": \"2026-01-15T07:40:50.781Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"9da2aca3-9703-444d-aba5-1579e688a51c"},{"name":"projectDestroy","id":"8d8c6fa3-9b1f-4cf5-bc32-c9b497d0a902","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{BASE_URL}}/project/697ea3dba8b0dd85c29d6cad","description":"<p>Menghapus projek, hanya bisa dilakukan oleh admin.</p>\n","urlObject":{"path":["project","697ea3dba8b0dd85c29d6cad"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"4c9e1cda-a519-4c93-b6b3-d18e5c5bc2d2","name":"projectDestroy","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"ab edit\",\r\n    \"description\":\"abcdefghijklmn Edit\",\r\n    \"deadline\":\"2026-01-12\",\r\n    \"createdBy\":\"695f08a565c3aaaa8117d712\"\r\n}"},"url":"http://localhost:5000/api/v1/project/696188f6a531a9dab0b6df43"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"53"},{"key":"ETag","value":"W/\"35-Xw335qEh4z8lp5mL+MBmuNp5hwE\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:32:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Delete project successfully\",\n    \"data\": null\n}"},{"id":"6af3ddac-6e9d-4f24-8662-f18ac7523ad7","name":"projectDestroy","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:5000/api/v1/project/696188f6a531a9dab0b6df43"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"53"},{"key":"ETag","value":"W/\"35-Xw335qEh4z8lp5mL+MBmuNp5hwE\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:32:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Delete project successfully\",\n    \"data\": null\n}"}],"_postman_id":"8d8c6fa3-9b1f-4cf5-bc32-c9b497d0a902"}],"id":"686c87d8-1e64-4c1c-ba10-05bfe973e2ba","description":"<ul>\n<li><p><strong>Nama Koleksi</strong>: Project</p>\n</li>\n<li><p><strong>Deskripsi</strong>: \"Koleksi ini berisi endpoint untuk mengelola projek. Digunakan untuk proses CRUD Projek, dengan authentikasi JWT.\"</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Method</th>\n<th><strong>Endpoint</strong></th>\n<th><strong>Deskripsi</strong></th>\n<th><strong>Proteksi</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>GET</strong></td>\n<td>/project</td>\n<td>Mengambil semua project milik user</td>\n<td>Auth</td>\n</tr>\n<tr>\n<td><strong>POST</strong></td>\n<td>/project</td>\n<td>Membuat project baru</td>\n<td>Auth, Admin</td>\n</tr>\n<tr>\n<td><strong>GET</strong></td>\n<td>/project/{id}</td>\n<td>Mengambil detail satu project</td>\n<td>Auth</td>\n</tr>\n<tr>\n<td><strong>PUT</strong></td>\n<td>/project/{id}</td>\n<td>Mengupdate project</td>\n<td>Auth, Admin</td>\n</tr>\n<tr>\n<td><strong>DELETE</strong></td>\n<td>/project/{id}</td>\n<td>Menghapus project</td>\n<td>Auth, Admin</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"686c87d8-1e64-4c1c-ba10-05bfe973e2ba"},{"name":"Task","item":[{"name":"task","id":"03747280-eb7b-4ac4-bad7-62317cf32244","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Task title\",\r\n    \"description\":\"Task Description\",\r\n    \"project\":\"697ea3dba8b0dd85c29d6cad\",\r\n    \"assignedTo\":\"697ea5efa8b0dd85c29d6ccf\",\r\n    \"deadline\":\"2026-03-20\",\r\n    \"createdBy\":\"697ea339a8b0dd85c29d6ca8\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/task","description":"<p>Membuat task, hanya bisa dilakukan oleh admin.</p>\n","urlObject":{"path":["task"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a93cb7f8-6f91-4ef0-9566-e43bd52f0fea","name":"task","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Task title\",\r\n    \"description\":\"Task Description\",\r\n    \"project\":\"6966e8a38380c5af47fca83f\",\r\n    \"assignedTo\":\"6966e247487437d63a490bae\",\r\n    \"deadline\":\"2026-01-20\",\r\n    \"createdBy\":\"6966e20d487437d63a490baa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/task"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"391"},{"key":"ETag","value":"W/\"187-iFYG0LeeVNR1a4ciQLxuuN9PUbs\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:30:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Task created successfully\",\n    \"data\": {\n        \"title\": \"Task title\",\n        \"description\": \"Task Description\",\n        \"project\": \"6966e8a38380c5af47fca83f\",\n        \"assignedTo\": \"6966e247487437d63a490bae\",\n        \"deadline\": \"2026-01-20T00:00:00.000Z\",\n        \"status\": \"todo\",\n        \"createdBy\": \"6966e20d487437d63a490baa\",\n        \"_id\": \"69689794374f43a8b1769b70\",\n        \"createdAt\": \"2026-01-15T07:30:28.596Z\",\n        \"updatedAt\": \"2026-01-15T07:30:28.596Z\",\n        \"__v\": 0\n    }\n}"},{"id":"73970f5c-3ca2-40ac-a3bd-17b6c9d1b384","name":"task","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Task title\",\r\n    \"description\":\"Task Description\",\r\n    \"project\":\"6966e8a38380c5af47fca83f\",\r\n    \"assignedTo\":\"6966e247487437d63a490bae\",\r\n    \"deadline\":\"2026-01-20\",\r\n    \"createdBy\":\"6966e20d487437d63a490baa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/task"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"391"},{"key":"ETag","value":"W/\"187-iFYG0LeeVNR1a4ciQLxuuN9PUbs\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:30:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Task created successfully\",\n    \"data\": {\n        \"title\": \"Task title\",\n        \"description\": \"Task Description\",\n        \"project\": \"6966e8a38380c5af47fca83f\",\n        \"assignedTo\": \"6966e247487437d63a490bae\",\n        \"deadline\": \"2026-01-20T00:00:00.000Z\",\n        \"status\": \"todo\",\n        \"createdBy\": \"6966e20d487437d63a490baa\",\n        \"_id\": \"69689794374f43a8b1769b70\",\n        \"createdAt\": \"2026-01-15T07:30:28.596Z\",\n        \"updatedAt\": \"2026-01-15T07:30:28.596Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"03747280-eb7b-4ac4-bad7-62317cf32244"},{"name":"taskAll","id":"4ba67906-e62e-44cf-abc5-e51a49d0905e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{BASE_URL}}/task","description":"<p>Mendapatkan semua data task, bisa dilakukan oleh admin dan member.</p>\n","urlObject":{"path":["task"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"e1dd510c-0d22-472f-acfb-c573031860b2","name":"taskAll","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/task"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1299"},{"key":"ETag","value":"W/\"513-Ww/bhxrJAx0mi+bilnSHdd7e32g\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:31:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Get tasks successfully\",\n    \"data\": [\n        {\n            \"_id\": \"6966ea428380c5af47fca851\",\n            \"title\": \"Task title\",\n            \"description\": \"Task Description\",\n            \"project\": \"6966e8a38380c5af47fca83f\",\n            \"assignedTo\": {\n                \"_id\": \"6966e247487437d63a490bae\",\n                \"name\": \"member1\",\n                \"email\": \"member1@mail.com\",\n                \"createdAt\": \"2026-01-14T00:24:39.260Z\",\n                \"updatedAt\": \"2026-01-14T00:24:39.260Z\",\n                \"__v\": 0\n            },\n            \"deadline\": \"2026-01-20T00:00:00.000Z\",\n            \"status\": \"todo\",\n            \"createdBy\": {\n                \"_id\": \"6966e20d487437d63a490baa\",\n                \"name\": \"Ruri\",\n                \"email\": \"ruri.pelinandang@mail.com\",\n                \"createdAt\": \"2026-01-14T00:23:41.788Z\",\n                \"updatedAt\": \"2026-01-14T00:23:41.788Z\",\n                \"__v\": 0\n            },\n            \"createdAt\": \"2026-01-14T00:58:42.829Z\",\n            \"updatedAt\": \"2026-01-14T00:58:42.829Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"69689794374f43a8b1769b70\",\n            \"title\": \"Task title\",\n            \"description\": \"Task Description\",\n            \"project\": \"6966e8a38380c5af47fca83f\",\n            \"assignedTo\": {\n                \"_id\": \"6966e247487437d63a490bae\",\n                \"name\": \"member1\",\n                \"email\": \"member1@mail.com\",\n                \"createdAt\": \"2026-01-14T00:24:39.260Z\",\n                \"updatedAt\": \"2026-01-14T00:24:39.260Z\",\n                \"__v\": 0\n            },\n            \"deadline\": \"2026-01-20T00:00:00.000Z\",\n            \"status\": \"todo\",\n            \"createdBy\": {\n                \"_id\": \"6966e20d487437d63a490baa\",\n                \"name\": \"Ruri\",\n                \"email\": \"ruri.pelinandang@mail.com\",\n                \"createdAt\": \"2026-01-14T00:23:41.788Z\",\n                \"updatedAt\": \"2026-01-14T00:23:41.788Z\",\n                \"__v\": 0\n            },\n            \"createdAt\": \"2026-01-15T07:30:28.596Z\",\n            \"updatedAt\": \"2026-01-15T07:30:28.596Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"4ba67906-e62e-44cf-abc5-e51a49d0905e"},{"name":"taskById","id":"3cbc19ea-ad4a-483b-a74c-8e10cc06a80d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{BASE_URL}}/task/697ea641a8b0dd85c29d6cd4","description":"<p>Melihat sebuah task berdasarkan {Id}, bisa dilakukan oleh admin dan member.</p>\n","urlObject":{"path":["task","697ea641a8b0dd85c29d6cd4"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"8f7c06a0-bdd3-4410-b23d-f430336cd0e1","name":"taskById","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:5000/api/v1/task/6966ea428380c5af47fca851"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"700"},{"key":"ETag","value":"W/\"2bc-TxbMwjm+xyKWQLzcOGFssK5o978\""},{"key":"Date","value":"Fri, 16 Jan 2026 00:10:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Get task successfully\",\n    \"data\": {\n        \"_id\": \"6966ea428380c5af47fca851\",\n        \"title\": \"Task title\",\n        \"description\": \"Task Description\",\n        \"project\": \"6966e8a38380c5af47fca83f\",\n        \"assignedTo\": {\n            \"_id\": \"6966e247487437d63a490bae\",\n            \"name\": \"member1\",\n            \"email\": \"member1@mail.com\",\n            \"role\": \"member\",\n            \"createdAt\": \"2026-01-14T00:24:39.260Z\",\n            \"updatedAt\": \"2026-01-14T00:24:39.260Z\",\n            \"__v\": 0\n        },\n        \"deadline\": \"2026-01-20T00:00:00.000Z\",\n        \"status\": \"todo\",\n        \"createdBy\": {\n            \"_id\": \"6966e20d487437d63a490baa\",\n            \"name\": \"Ruri\",\n            \"email\": \"ruri.pelinandang@mail.com\",\n            \"role\": \"admin\",\n            \"createdAt\": \"2026-01-14T00:23:41.788Z\",\n            \"updatedAt\": \"2026-01-14T00:23:41.788Z\",\n            \"__v\": 0\n        },\n        \"createdAt\": \"2026-01-14T00:58:42.829Z\",\n        \"updatedAt\": \"2026-01-14T00:58:42.829Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"3cbc19ea-ad4a-483b-a74c-8e10cc06a80d"},{"name":"taskUpdate","id":"b8188d27-2c40-485d-a755-6c0773ff932a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Title task edit\",\r\n    \"description\":\"description task edit\",\r\n    \"project\":\"697ea3dba8b0dd85c29d6cad\",\r\n    \"assignedTo\":\"697ea5efa8b0dd85c29d6ccf\",\r\n    \"deadline\":\"2026-01-09\",\r\n    \"createdBy\":\"697ea339a8b0dd85c29d6ca8\"\r\n}"},"url":"{{BASE_URL}}/task/697ea641a8b0dd85c29d6cd4","description":"<p>Merubah task, hanya bisa dilakukan oleh admin.</p>\n","urlObject":{"path":["task","697ea641a8b0dd85c29d6cd4"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6443ee62-bb54-4ae9-8498-1a16167270e2","name":"taskUpdate","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"Title task edit\",\r\n    \"description\":\"description task edit\",\r\n    \"project\":\"695f13ab49cecca84c82aeea\",\r\n    \"assignedTo\":\"695f0ae665c3aaaa8117d716\",\r\n    \"deadline\":\"2026-01-09\",\r\n    \"createdBy\":\"695f08a565c3aaaa8117d712\"\r\n}"},"url":"http://localhost:5000/api/v1/task/695f2b5988f7f276d2519a91"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"50"},{"key":"ETag","value":"W/\"32-Rp79Mqtt9cWBr8VrV/uOpf1k6RY\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:46:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Update task successfully\",\n    \"data\": null\n}"}],"_postman_id":"b8188d27-2c40-485d-a755-6c0773ff932a"},{"name":"taskDestroy","id":"94aa9fe0-7427-4e2e-9a66-e9b1b6e06ea0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{BASE_URL}}/task/6966e8e18380c5af47fca846","description":"<p>Menghapus task, hanya bisa dilakukan oleh admin.</p>\n","urlObject":{"path":["task","6966e8e18380c5af47fca846"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"7a6e0f48-ceea-471d-83e4-b712d5ff9abd","name":"taskDestroy","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"bbbb edit\",\r\n    \"description\":\"description bbbb edit\",\r\n    \"project\":\"695f13ab49cecca84c82aeea\",\r\n    \"assignedTo\":\"695f0ae665c3aaaa8117d716\",\r\n    \"deadline\":\"2026-01-09\",\r\n    \"createdBy\":\"695f08a565c3aaaa8117d712\"\r\n}"},"url":"http://localhost:5000/api/v1/task/6966e8e18380c5af47fca846"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"50"},{"key":"ETag","value":"W/\"32-bRYPJATfhA4cD9uC8BzXuM2BSXA\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:31:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Delete task successfully\",\n    \"data\": null\n}"}],"_postman_id":"94aa9fe0-7427-4e2e-9a66-e9b1b6e06ea0"},{"name":"taskByProject","id":"fe9dbf50-ee3b-4b34-9ae7-9ac09239c6cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"fe9dbf50-ee3b-4b34-9ae7-9ac09239c6cb"}],"id":"bab2f07e-157f-4db7-bf6b-2a687228cfbc","description":"<ul>\n<li><p><strong>Nama Koleksi</strong>: Task</p>\n</li>\n<li><p><strong>Deskripsi</strong>: \"Koleksi ini berisi endpoint untuk mengelola task. Digunakan untuk proses CRUD Task, dengan authentikasi JWT.\"</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Method</th>\n<th><strong>Endpoint</strong></th>\n<th><strong>Deskripsi</strong></th>\n<th><strong>Proteksi</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>GET</strong></td>\n<td>/task</td>\n<td>Mengambil semua project milik user</td>\n<td>Auth</td>\n</tr>\n<tr>\n<td><strong>POST</strong></td>\n<td>/task</td>\n<td>Membuat project baru</td>\n<td>Auth, Admin</td>\n</tr>\n<tr>\n<td><strong>GET</strong></td>\n<td>/task/{id}</td>\n<td>Mengambil detail satu project</td>\n<td>Auth</td>\n</tr>\n<tr>\n<td><strong>PUT</strong></td>\n<td>/task/{id}</td>\n<td>Mengupdate project</td>\n<td>Auth, Admin</td>\n</tr>\n<tr>\n<td><strong>DELETE</strong></td>\n<td>/task/{id}</td>\n<td>Menghapus project</td>\n<td>Auth, Admin</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"bab2f07e-157f-4db7-bf6b-2a687228cfbc"},{"name":"User","item":[{"name":"user","id":"e850b076-0ed6-41d3-8c41-5a438ca55c2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/user","description":"<p>Melihat semua user yang sudah dibuat.</p>\n","urlObject":{"path":["user"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a769a966-3d52-4b07-bae4-021d26719e25","name":"user","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/api/v1/user"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"774"},{"key":"ETag","value":"W/\"306-lBHJlDZ7P0ZX0DwQ8GnkCSWS3jQ\""},{"key":"Date","value":"Thu, 15 Jan 2026 07:29:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Get users successfully\",\n    \"data\": [\n        {\n            \"_id\": \"6966e20d487437d63a490baa\",\n            \"name\": \"Ruri\",\n            \"email\": \"ruri.pelinandang@mail.com\",\n            \"role\": \"admin\",\n            \"createdAt\": \"2026-01-14T00:23:41.788Z\",\n            \"updatedAt\": \"2026-01-14T00:23:41.788Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6966e247487437d63a490bae\",\n            \"name\": \"member1\",\n            \"email\": \"member1@mail.com\",\n            \"role\": \"member\",\n            \"createdAt\": \"2026-01-14T00:24:39.260Z\",\n            \"updatedAt\": \"2026-01-14T00:24:39.260Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6966f61e0e80b9a8901ccdee\",\n            \"name\": \"member2\",\n            \"email\": \"member2@mail.com\",\n            \"role\": \"member\",\n            \"createdAt\": \"2026-01-14T01:49:18.966Z\",\n            \"updatedAt\": \"2026-01-14T01:49:18.966Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6966f7708b0d48b09c4d48ef\",\n            \"name\": \"member3\",\n            \"email\": \"member3@mail.com\",\n            \"role\": \"member\",\n            \"createdAt\": \"2026-01-14T01:54:56.212Z\",\n            \"updatedAt\": \"2026-01-14T01:54:56.212Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"e850b076-0ed6-41d3-8c41-5a438ca55c2e"}],"id":"db7eb678-2200-42cd-9303-59b2ecb33144","description":"<ul>\n<li><p><strong>Nama Koleksi</strong>: User</p>\n</li>\n<li><p><strong>Deskripsi</strong>: \"Koleksi ini berisi endpoint untuk mengelola User.</p>\n</li>\n</ul>\n","_postman_id":"db7eb678-2200-42cd-9303-59b2ecb33144"}]}