{"info":{"_postman_id":"eb8b7d2d-3c50-4fcc-955d-a2fcfa5bd036","name":"Custom database security with JWT","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"27398506","collectionId":"eb8b7d2d-3c50-4fcc-955d-a2fcfa5bd036","publishedId":"2sB2cShjBR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-04-08T21:12:34.000Z"},"item":[{"name":"User Signup","id":"5cc1b561-ed7e-4a3d-bd66-7e5da7f668fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"sunny\",\r\n    \"email\": \"sunny@gmail.com\",\r\n    \"username\": \"sunny\",\r\n    \"password\": \"testing\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/user/signup","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","user","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cc1b561-ed7e-4a3d-bd66-7e5da7f668fb"},{"name":"Login","id":"7b892fde-bd54-40e4-a300-7d4c0243412e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"Amit\",\r\n    \"password\":\"testing\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/login","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b892fde-bd54-40e4-a300-7d4c0243412e"},{"name":"Admin SignUp","id":"098fbf38-a111-4d61-90e5-dc3a54ed2c7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"amit\",\r\n    \"email\":\"amit@gmail.com\",\r\n    \"name\":\"Amit\",\r\n    \"password\":\"testing\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/admin/signup","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","admin","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"098fbf38-a111-4d61-90e5-dc3a54ed2c7e"},{"name":"Get user Login Details","id":"c285ca3e-92ca-4701-b360-ba9b30b0c2b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3VubnkiLCJleHAiOjE3NDMwOTUxMTksImlzcyI6InNwcmluZyJ9.ywUfrYS2aaXuPxKhF_K8-u-VtlaswZSAthA7OdnL4d0","type":"text"}],"url":"http://localhost:8080/api/v1/user","urlObject":{"protocol":"http","port":"8080","path":["api","v1","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c285ca3e-92ca-4701-b360-ba9b30b0c2b3"},{"name":"Get Admin Login Details","id":"ee97869e-9f83-4592-88df-a4319d74d25b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/admin","urlObject":{"protocol":"http","port":"8080","path":["api","v1","admin"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee97869e-9f83-4592-88df-a4319d74d25b"},{"name":"Get Greet Admin / User Details","id":"b3f8421b-00bd-48dd-a86e-007530885eff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/greet","urlObject":{"protocol":"http","port":"8080","path":["api","v1","greet"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3f8421b-00bd-48dd-a86e-007530885eff"},{"name":"loginUserDetails","id":"e43ed03d-c0d3-4483-a0a7-ee367d6a4721","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/login/user/details","urlObject":{"protocol":"http","port":"8080","path":["api","v1","login","user","details"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e43ed03d-c0d3-4483-a0a7-ee367d6a4721"},{"name":"all_user_list","id":"8ac00c5a-c2ef-475a-b2e9-708aa38a273d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/all-user-list","urlObject":{"protocol":"http","port":"8080","path":["api","v1","all-user-list"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ac00c5a-c2ef-475a-b2e9-708aa38a273d"}]}