{"info":{"_postman_id":"30444366-1ac9-481d-98b4-a71f7ca47853","name":"Blog Apis","description":"<html><head></head><body><p>This collection of APIs facilitates various operations related to blog management, including creating, updating, deleting, and retrieving blog posts. Additionally, it provides functionalities for publishing/unpublishing posts, searching for posts by tags, and fetching posts for the home page. The collection ensures user authentication and authorization for sensitive actions like creating, updating, and deleting posts.</p>\n<p>Endpoints in this collection:</p>\n<ol>\n<li><p><strong>Create New Blog Post:</strong> Allows users to create a new blog post with essential details such as title, content, tags, and image.</p>\n</li>\n<li><p><strong>Unpublish Blog Post:</strong> Enables users to unpublish a specific blog post.</p>\n</li>\n<li><p><strong>Publish Blog Post:</strong> Allows users to publish a previously unpublished blog post.</p>\n</li>\n<li><p><strong>Get Home Page Blog Posts:</strong> Retrieves blog posts for display on the home page, considering factors like popularity and relevance.</p>\n</li>\n<li><p><strong>Search Posts with Tag:</strong> Searches for blog posts containing a specific tag.</p>\n</li>\n<li><p><strong>Get Specific Post:</strong> Fetches details of a specific blog post based on its ID.</p>\n</li>\n<li><p><strong>Update Post:</strong> Allows users to update an existing blog post, including modifying content, title, tags, and image.</p>\n</li>\n<li><p><strong>Delete Post:</strong> Deletes a specific blog post.</p>\n</li>\n<li><p><strong>Get All Posts by Skip and Limit:</strong> Retrieves all published blog posts with pagination support, allowing users to specify the number of posts to skip and the maximum number of posts to return per request.</p>\n</li>\n</ol>\n<p>These APIs collectively provide comprehensive functionality for managing blog content efficiently, catering to both content creators and consumers.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31843425","collectionId":"30444366-1ac9-481d-98b4-a71f7ca47853","publishedId":"2sA2xk1BXv","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-03-13T12:53:53.000Z"},"item":[{"name":"Creating New Blog Post","id":"ba6bfee0-fd47-4d69-9c34-1da118a04ec8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Demystifying Data Structures: A Beginner's Guide","type":"text","id":0},{"key":"content","value":"Data structures form the foundation of computer science","type":"text","id":1},{"key":"tags","value":"[\"git\",\"main\",\"token\"]","type":"text","id":2},{"key":"seoKeywords","value":"[\"Data Structures\", \"Computer Science\", \"Algorithms\", \"Arrays\", \"Linked Lists\", \"Stacks\", \"Queues\"]","type":"text","id":3},{"key":"metaDescription","value":"Uncover the fundamentals of data structures in this beginner-friendly guide. ","type":"text","id":4},{"key":"postImage","type":"file","id":5,"fileUploadError":"","src":["C:\\Users\\Shubham Gupta\\Downloads\\dsa.jpg"]},{"key":"authorId","value":"65eef6745e3bb295cfe56319","type":"text","id":6},{"key":"url","value":"data-structure-and-algorithm","type":"text","id":7}]},"url":"{{server}}/blogs/create","description":"<p><strong>Endpoint:</strong> POST /api/v1/blogs/create<br /><strong>Description:</strong> This endpoint allows users to create a new blog post.<br /><strong>Request Body:</strong></p>\n<ul>\n<li><p><strong>title:</strong> The title of the blog post.</p>\n</li>\n<li><p><strong>content:</strong> The content or body of the blog post.</p>\n</li>\n<li><p><strong>tags:</strong> An array of tags associated with the blog post.</p>\n</li>\n<li><p><strong>seoKeywords:</strong> Keywords for SEO optimization.</p>\n</li>\n<li><p><strong>metaDescription:</strong> A brief description for meta tags.</p>\n</li>\n<li><p><strong>postImage:</strong> An image file representing the blog post.</p>\n</li>\n<li><p><strong>authorId:</strong> The ID of the author creating the blog post.</p>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>200 OK:</strong> Blog post creation successful. Returns the newly created blog post object.</p>\n</li>\n<li><p><strong>400 Bad Request:</strong> If any of the required fields are missing or invalid.</p>\n</li>\n<li><p><strong>403 Forbidden:</strong> If the user is not authorized to create the blog post.</p>\n</li>\n<li><p><strong>404 Not Found:</strong> If the specified author ID is not found.</p>\n</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>The postImage will be uploaded and associated with the blog post.</p>\n</li>\n<li><p>Access control is enforced based on the author's ID.</p>\n</li>\n<li><p>Rate limiting is applied to prevent abuse or spam.</p>\n</li>\n</ul>\n","urlObject":{"path":["blogs","create"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"6f85becd-c0df-479d-a69f-dfee7cbae28d","name":"Creating New Blog Post","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Mastering Full Stack Web Development: A Roadmap to Success","type":"text","id":0},{"key":"content","value":"In the ever-evolving landscape of technology, full stack web development stands out as a cornerstone skillset. From crafting dynamic user interfaces to managing databases and server-side logic, full stack developers possess a breadth of knowledge essential for modern web applications. In this comprehensive guide, we delve into the intricacies of full stack development, exploring its components, frameworks, and career prospects.Understanding Full Stack Web Development:Full stack web development encompasses both frontend and backend aspects of web application development. Frontend development involves crafting visually appealing and user-friendly interfaces using HTML, CSS, and JavaScript. This facet focuses on enhancing user experience and ensuring seamless interaction with the application.On the other hand, backend development involves server-side programming, database management, and application logic implementation. Technologies like Node.js, Python, Ruby on Rails, and PHP are commonly used for backend development, each offering unique features and capabilities.Essential Components and Technologies:Frontend Technologies: HTML, CSS, JavaScript, and frameworks like React.js, Angular, and Vue.js empower developers to build responsive and interactive user interfaces.Backend Technologies: Node.js, Express.js, Django, Flask, and Laravel are popular backend frameworks known for their robustness, scalability, and ease of development.Databases: MySQL, PostgreSQL, MongoDB, and SQLite are commonly used databases for storing and managing application data, each offering distinct advantages based on the project requirements.Version Control: Git, along with platforms like GitHub and GitLab, facilitates collaboration, code management, and version control, ensuring seamless project development and maintenance.The Full Stack Developer's Toolbox:A proficient full stack developer is well-versed in a diverse array of tools and technologies. Integrated Development Environments (IDEs) such as Visual Studio Code, Atom, and Sublime Text provide a conducive environment for writing, debugging, and testing code. Additionally, package managers like npm (Node Package Manager) and yarn streamline dependency management, enabling efficient project development.Career Opportunities and Growth:The demand for full stack developers continues to surge, with businesses seeking versatile professionals capable of handling end-to-end development processes. Whether employed by tech giants, startups, or freelance ventures, full stack developers play a pivotal role in shaping the digital landscape.","type":"text","id":1},{"key":"tags","value":"[\"Full Stack Development\", \"Web Development\", \"Frontend\", \"Backend\", \"JavaScript\", \"Node.js\", \"React.js\", \"MongoDB\", \"Git\", \"Career Growth\"]","type":"text","id":2},{"key":"seoKeywords","value":"Full Stack Web Development, Frontend Development, Backend Development, JavaScript Frameworks, Node.js, React.js, MongoDB, Version Control, Career Growth","type":"text","id":3},{"key":"metaDescription","value":"Explore the multifaceted realm of full stack web development, from crafting dynamic user interfaces to managing databases and server-side logic. Learn about essential technologies, career opportunities, and growth prospects in this comprehensive guide.","type":"text","id":4},{"key":"postImage","type":"file","id":5,"fileUploadError":"","src":["C:\\Users\\Shubham Gupta\\Downloads\\full-stack developer.webp"]},{"key":"authorId","value":"65eef6745e3bb295cfe56319","type":"text","id":6}]},"url":"{{server}}/blogs/create"},"status":"Created","code":201,"_postman_previewlanguage":"JSON","header":[{"key":"Server","value":"nginx","type":"text"},{"key":"Date","value":"Mon, 11 Mar 2024 13:26:32 GMT","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"3730","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Vary","value":"Origin","type":"text"},{"key":"Access-Control-Allow-Credentials","value":"true","type":"text"},{"key":"X-RateLimit-Limit","value":"8","type":"text"},{"key":"X-RateLimit-Remaining","value":"7","type":"text"},{"key":"X-RateLimit-Reset","value":"1710164491","type":"text"},{"key":"ETag","value":"W/\"e92-kVxsZBsczjH1aLM4awZHOVUsvdE\"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Blog Post Created successfully\",\n    \"newBlog\": {\n        \"author\": \"65eef6745e3bb295cfe56319\",\n        \"title\": \"Mastering Full Stack Web Development: A Roadmap to Success\",\n        \"seoKeywords\": \"Full Stack Web Development, Frontend Development, Backend Development, JavaScript Frameworks, Node.js, React.js, MongoDB, Version Control, Career Growth\",\n        \"public_image\": {\n            \"resource_id\": \"blog/posts/demo123/bp9r3lun1kutu0zi8o7c\",\n            \"resource_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710163591/blog/posts/demo123/bp9r3lun1kutu0zi8o7c.webp\"\n        },\n        \"tags\": [\n            \"Full Stack Development\",\n            \"Web Development\",\n            \"Frontend\",\n            \"Backend\",\n            \"JavaScript\",\n            \"Node.js\",\n            \"React.js\",\n            \"MongoDB\",\n            \"Git\",\n            \"Career Growth\"\n        ],\n        \"metaDescription\": \"Explore the multifaceted realm of full stack web development, from crafting dynamic user interfaces to managing databases and server-side logic. Learn about essential technologies, career opportunities, and growth prospects in this comprehensive guide.\",\n        \"content\": \"In the ever-evolving landscape of technology, full stack web development stands out as a cornerstone skillset. From crafting dynamic user interfaces to managing databases and server-side logic, full stack developers possess a breadth of knowledge essential for modern web applications. In this comprehensive guide, we delve into the intricacies of full stack development, exploring its components, frameworks, and career prospects.Understanding Full Stack Web Development:Full stack web development encompasses both frontend and backend aspects of web application development. Frontend development involves crafting visually appealing and user-friendly interfaces using HTML, CSS, and JavaScript. This facet focuses on enhancing user experience and ensuring seamless interaction with the application.On the other hand, backend development involves server-side programming, database management, and application logic implementation. Technologies like Node.js, Python, Ruby on Rails, and PHP are commonly used for backend development, each offering unique features and capabilities.Essential Components and Technologies:Frontend Technologies: HTML, CSS, JavaScript, and frameworks like React.js, Angular, and Vue.js empower developers to build responsive and interactive user interfaces.Backend Technologies: Node.js, Express.js, Django, Flask, and Laravel are popular backend frameworks known for their robustness, scalability, and ease of development.Databases: MySQL, PostgreSQL, MongoDB, and SQLite are commonly used databases for storing and managing application data, each offering distinct advantages based on the project requirements.Version Control: Git, along with platforms like GitHub and GitLab, facilitates collaboration, code management, and version control, ensuring seamless project development and maintenance.The Full Stack Developer's Toolbox:A proficient full stack developer is well-versed in a diverse array of tools and technologies. Integrated Development Environments (IDEs) such as Visual Studio Code, Atom, and Sublime Text provide a conducive environment for writing, debugging, and testing code. Additionally, package managers like npm (Node Package Manager) and yarn streamline dependency management, enabling efficient project development.Career Opportunities and Growth:The demand for full stack developers continues to surge, with businesses seeking versatile professionals capable of handling end-to-end development processes. Whether employed by tech giants, startups, or freelance ventures, full stack developers play a pivotal role in shaping the digital landscape.\",\n        \"likes\": 0,\n        \"comments\": [],\n        \"isPublished\": true,\n        \"_id\": \"65ef06865b5510e9e92ddd5b\",\n        \"createdAt\": \"2024-03-11T13:26:30.239Z\",\n        \"updatedAt\": \"2024-03-11T13:26:32.272Z\",\n        \"__v\": 1\n    }\n}"}],"_postman_id":"ba6bfee0-fd47-4d69-9c34-1da118a04ec8"},{"name":"Unpublish Blog Post","id":"7e2a58d4-a08a-4e10-8798-89b15bfb432b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[],"url":"{{server}}/blogs/65e0b1e52caebb67117796cf","description":"<p><strong>Endpoint:</strong> PATCH /api/v1/blogs/:id<br /><strong>Description:</strong> This endpoint allows users to unpublish a blog post.<br /><strong>Request Body:</strong></p>\n<ul>\n<li><strong>id:</strong> The ID of the blog post to be unpublished.</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>200 OK:</strong> Blog post unpublished successfully.</p>\n</li>\n<li><p><strong>401 Unauthorized:</strong> If the user is not authorized to unpublish the post.</p>\n</li>\n<li><p><strong>404 Not Found:</strong> If the specified blog post ID is not found.</p>\n</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>Access control is enforced based on the user's authorization.</p>\n</li>\n<li><p>Only the author of the blog post or an admin can unpublish a post.</p>\n</li>\n</ul>\n","urlObject":{"path":["blogs","65e0b1e52caebb67117796cf"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"4ba37420-8285-477e-af03-ee1335a39459","name":"Unpublish Blog Post","originalRequest":{"method":"PATCH","header":[],"url":"{{server}}/blogs/65ef07875b5510e9e92ddd65"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Server","value":"nginx","type":"text"},{"key":"Date","value":"Mon, 11 Mar 2024 13:31:24 GMT","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"58","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Vary","value":"Origin","type":"text"},{"key":"Access-Control-Allow-Credentials","value":"true","type":"text"},{"key":"X-RateLimit-Limit","value":"20","type":"text"},{"key":"X-RateLimit-Remaining","value":"19","type":"text"},{"key":"X-RateLimit-Reset","value":"1710164785","type":"text"},{"key":"ETag","value":"W/\"3a-4E4iwxXDshRfFw2One/pmm4sNv4\"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Blog unpublished successfully\"\n}"}],"_postman_id":"7e2a58d4-a08a-4e10-8798-89b15bfb432b"},{"name":"Publish Blog Post","id":"99ea1724-27de-4bc2-aa3d-0973b06e51e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[],"url":"{{server}}/blogs/publish/65e0b1e52caebb67117796cf","description":"<p><strong>Endpoint:</strong> PATCH /api/v1/blogs/publish/:id<br /><strong>Description:</strong> This endpoint allows users to publish a blog post.<br /><strong>Request Body:</strong></p>\n<ul>\n<li><strong>id:</strong> The ID of the blog post to be published.</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>200 OK:</strong> Blog post published successfully.</p>\n</li>\n<li><p><strong>401 Unauthorized:</strong> If the user is not authorized to publish the post.</p>\n</li>\n<li><p><strong>404 Not Found:</strong> If the specified blog post ID is not found.</p>\n</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>Access control is enforced based on the user's authorization.</p>\n</li>\n<li><p>Only the author of the blog post or an admin can publish a post.</p>\n</li>\n</ul>\n","urlObject":{"path":["blogs","publish","65e0b1e52caebb67117796cf"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"137f0ee8-6bb0-4dff-bc39-d43bda242e69","name":"Publish Blog Post","originalRequest":{"method":"PATCH","header":[],"url":"{{server}}/blogs/publish/65ef07875b5510e9e92ddd65"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Server","value":"nginx","type":"text"},{"key":"Date","value":"Mon, 11 Mar 2024 13:31:53 GMT","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"56","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Vary","value":"Origin","type":"text"},{"key":"Access-Control-Allow-Credentials","value":"true","type":"text"},{"key":"X-RateLimit-Limit","value":"10","type":"text"},{"key":"X-RateLimit-Remaining","value":"9","type":"text"},{"key":"X-RateLimit-Reset","value":"1710164214","type":"text"},{"key":"ETag","value":"W/\"38-7TqemeMzyvTESuVPNMxlomaf+nE\"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Blog published successfully\"\n}"}],"_postman_id":"99ea1724-27de-4bc2-aa3d-0973b06e51e9"},{"name":"Home Page Blog Posts","id":"b41a5469-f32d-4b4a-9f75-32dbf89a8a8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/blogs/","description":"<p><strong>Endpoint:</strong> GET /api/v1/blogs/<br /><strong>Description:</strong> This endpoint retrieves the home page blog posts.<br /><strong>Request Body:</strong></p>\n<ul>\n<li>No request body required.</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><strong>200 OK:</strong> Blog posts fetched successfully. Returns an array of trending and popular author blog posts along with top keywords.</li>\n<li><strong>404 Not Found:</strong> If no blog posts are found.</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li>The response includes trending posts, popular author posts, and top keywords.</li>\n<li>Access control is not required for this endpoint as it's publicly accessible.</li>\n</ul>\n","urlObject":{"path":["blogs",""],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"8c4cbc3a-804f-4198-be6a-5d701969d096","name":"Home Page Blog Posts","originalRequest":{"method":"GET","header":[],"url":"{{server}}/blogs/"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Server","value":"nginx","type":"text"},{"key":"Date","value":"Mon, 11 Mar 2024 13:32:13 GMT","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"2786","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Vary","value":"Origin","type":"text"},{"key":"Access-Control-Allow-Credentials","value":"true","type":"text"},{"key":"X-RateLimit-Limit","value":"30","type":"text"},{"key":"X-RateLimit-Remaining","value":"29","type":"text"},{"key":"X-RateLimit-Reset","value":"1710164234","type":"text"},{"key":"ETag","value":"W/\"ae2-coHSMWOSkDcuq9b0RwRD6v4fqPs\"","type":"text"},{"key":"X-Cache","value":"MISS","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Posts fetched successfully\",\n    \"data\": {\n        \"trendingPosts\": [\n            {\n                \"_id\": \"65ef06865b5510e9e92ddd5b\",\n                \"author\": {\n                    \"_id\": \"65eef6745e3bb295cfe56319\",\n                    \"username\": \"demo123\",\n                    \"firstName\": \"Demo\",\n                    \"lastName\": \"mode\"\n                },\n                \"title\": \"Mastering Full Stack Web Development: A Roadmap to Success\",\n                \"tags\": [\n                    \"Full Stack Development\",\n                    \"Web Development\",\n                    \"Frontend\",\n                    \"Backend\",\n                    \"JavaScript\",\n                    \"Node.js\",\n                    \"React.js\",\n                    \"MongoDB\",\n                    \"Git\",\n                    \"Career Growth\"\n                ],\n                \"metaDescription\": \"Explore the multifaceted realm of full stack web development, from crafting dynamic user interfaces to managing databases and server-side logic. Learn about essential technologies, career opportunities, and growth prospects in this comprehensive guide.\",\n                \"likes\": 0,\n                \"public_image\": {\n                    \"resource_id\": \"blog/posts/demo123/bp9r3lun1kutu0zi8o7c\",\n                    \"resource_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710163591/blog/posts/demo123/bp9r3lun1kutu0zi8o7c.webp\"\n                }\n            },\n            {\n                \"_id\": \"65ef07795b5510e9e92ddd60\",\n                \"author\": {\n                    \"_id\": \"65eef6745e3bb295cfe56319\",\n                    \"username\": \"demo123\",\n                    \"firstName\": \"Demo\",\n                    \"lastName\": \"mode\"\n                },\n                \"title\": \"Mastering Frontend Web Development: A Guide to Crafting Engaging User Experiences\",\n                \"tags\": [\n                    \"Frontend Development\",\n                    \"Web Development\",\n                    \"HTML\",\n                    \"CSS\",\n                    \"JavaScript\",\n                    \"React.js\",\n                    \"Responsive Design\",\n                    \"Career Path\"\n                ],\n                \"metaDescription\": \"Unlock the potential of frontend web development as you delve into the fundamentals of HTML, CSS, and JavaScript. Explore essential frameworks and tools for crafting captivating user interfaces, and discover career pathways in this dynamic field.\",\n                \"likes\": 0,\n                \"public_image\": {\n                    \"resource_id\": \"blog/posts/demo123/annydwketoguizaobgv3\",\n                    \"resource_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710163834/blog/posts/demo123/annydwketoguizaobgv3.jpg\"\n                }\n            },\n            {\n                \"_id\": \"65ef07875b5510e9e92ddd65\",\n                \"author\": {\n                    \"_id\": \"65eef6745e3bb295cfe56319\",\n                    \"username\": \"demo123\",\n                    \"firstName\": \"Demo\",\n                    \"lastName\": \"mode\"\n                },\n                \"title\": \"Mastering Frontend Web Development: A Guide to Crafting Engaging User Experiences\",\n                \"tags\": [\n                    \"Frontend Development\",\n                    \"Web Development\",\n                    \"HTML\",\n                    \"CSS\",\n                    \"JavaScript\",\n                    \"React.js\",\n                    \"Responsive Design\",\n                    \"Career Path\"\n                ],\n                \"metaDescription\": \"Unlock the potential of frontend web development as you delve into the fundamentals of HTML, CSS, and JavaScript. Explore essential frameworks and tools for crafting captivating user interfaces, and discover career pathways in this dynamic field.\",\n                \"likes\": 0,\n                \"public_image\": {\n                    \"resource_id\": \"blog/posts/demo123/gitlgoujluwfk4d1gptg\",\n                    \"resource_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710163848/blog/posts/demo123/gitlgoujluwfk4d1gptg.jpg\"\n                }\n            }\n        ],\n        \"authorPosts\": [],\n        \"topKeywords\": [\n            \"full stack development\",\n            \"web development\",\n            \"frontend\",\n            \"backend\",\n            \"javascript\",\n            \"node.js\",\n            \"react.js\",\n            \"mongodb\",\n            \"git\",\n            \"career growth\",\n            \"frontend development\",\n            \"html\",\n            \"css\",\n            \"responsive design\",\n            \"career path\"\n        ]\n    }\n}"}],"_postman_id":"b41a5469-f32d-4b4a-9f75-32dbf89a8a8e"},{"name":"Search Posts with tag","id":"c2b50c92-a70f-4916-ae24-d21bf86119ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"tagsearch","value":"blog","type":"text","id":0}]},"url":"{{server}}/blogs/tag","description":"<p><strong>Endpoint:</strong> POST /api/v1/blogs/tag<br /><strong>Description:</strong> This endpoint allows users to search for blog posts by tag.<br /><strong>Request Body:</strong></p>\n<ul>\n<li><strong>tagsearch:</strong> The tag keyword to search for in the blog posts.</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>200 OK:</strong> Blog posts fetched successfully. Returns an array of posts matching the provided tag.</p>\n</li>\n<li><p><strong>400 Bad Request:</strong> If the tagsearch parameter is missing or invalid.</p>\n</li>\n<li><p><strong>404 Not Found:</strong> If no blog posts are found matching the provided tag.</p>\n</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>Access control is not required for this endpoint as it's publicly accessible.</p>\n</li>\n<li><p>The tagsearch parameter is used to search for blog posts with matching tags.</p>\n</li>\n</ul>\n","urlObject":{"path":["blogs","tag"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"8852fad1-9c5d-4bd8-80e2-01bf8f590ad4","name":"Search Posts with tag","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"tagsearch","value":"HTML","type":"text","id":0}]},"url":"{{server}}/blogs/tag"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Server","value":"nginx","type":"text"},{"key":"Date","value":"Mon, 11 Mar 2024 13:33:44 GMT","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"6596","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Vary","value":"Origin","type":"text"},{"key":"Access-Control-Allow-Credentials","value":"true","type":"text"},{"key":"X-RateLimit-Limit","value":"30","type":"text"},{"key":"X-RateLimit-Remaining","value":"27","type":"text"},{"key":"X-RateLimit-Reset","value":"1710164278","type":"text"},{"key":"ETag","value":"W/\"19c4-Q8DK6VJRm1Us9mnF7Mzd0PmCfk0\"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Searched posts fetched successfully\",\n    \"areMore\": false,\n    \"posts\": [\n        {\n            \"author\": {\n                \"_id\": \"65eef6745e3bb295cfe56319\",\n                \"username\": \"demo123\",\n                \"firstName\": \"Demo\",\n                \"lastName\": \"mode\",\n                \"bio\": \"This is just a testing account for demo purpose\"\n            },\n            \"title\": \"Mastering Frontend Web Development: A Guide to Crafting Engaging User Experiences\",\n            \"seoKeywords\": \"Frontend Web Development, HTML, CSS, JavaScript, React.js, Angular, Vue.js, Responsive Design, Career Opportunities\",\n            \"tags\": [\n                \"Frontend Development\",\n                \"Web Development\",\n                \"HTML\",\n                \"CSS\",\n                \"JavaScript\",\n                \"React.js\",\n                \"Responsive Design\",\n                \"Career Path\"\n            ],\n            \"metaDescription\": \"Unlock the potential of frontend web development as you delve into the fundamentals of HTML, CSS, and JavaScript. Explore essential frameworks and tools for crafting captivating user interfaces, and discover career pathways in this dynamic field.\",\n            \"content\": \"Frontend web development serves as the gateway to captivating user experiences and intuitive interfaces. As technology advances, the demand for skilled frontend developers continues to soar. This guide delves into the realm of frontend development, exploring its key concepts, tools, and career pathways.Understanding Frontend Web Development:Frontend development focuses on creating visually appealing and interactive interfaces that engage users and facilitate seamless navigation. It entails the use of HTML, CSS, and JavaScript to structure content, style elements, and add functionality to web pages.Essential Technologies and Frameworks:HTML (Hypertext Markup Language): The backbone of web development, HTML provides the structure for web pages, defining elements such as headings, paragraphs, and links.CSS (Cascading Style Sheets): CSS enables developers to style HTML elements, controlling aspects like layout, color, typography, and animation to enhance visual appeal.JavaScript: As a versatile programming language, JavaScript adds interactivity and dynamic behavior to web pages, enabling features like form validation, animations, and DOM manipulation.Frontend Frameworks: Frameworks like React.js, Angular, and Vue.js simplify frontend development by providing reusable components, state management, and routing capabilities, streamlining the development process and enhancing code maintainability.Tools for Productive Development:Code Editors: Choose from popular code editors like Visual Studio Code, Sublime Text, or Atom for writing, editing, and debugging code efficiently.CSS Preprocessors: Tools like Sass and Less extend CSS with features like variables, mixins, and nested rules, improving code organization and maintainability.Responsive Design Tools: Frameworks like Bootstrap and CSS Grid aid in creating responsive and mobile-friendly layouts, ensuring optimal user experience across devices.Career Opportunities and Advancement:Frontend developers play a crucial role in shaping user experiences and driving user engagement. With the proliferation of web-based applications and digital platforms, the demand for frontend developers remains high across various industries, including tech, e-commerce, and media.\",\n            \"public_image\": {\n                \"resource_id\": \"blog/posts/demo123/annydwketoguizaobgv3\",\n                \"resource_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710163834/blog/posts/demo123/annydwketoguizaobgv3.jpg\"\n            },\n            \"_id\": \"65ef07795b5510e9e92ddd60\"\n        },\n        {\n            \"author\": {\n                \"_id\": \"65eef6745e3bb295cfe56319\",\n                \"username\": \"demo123\",\n                \"firstName\": \"Demo\",\n                \"lastName\": \"mode\",\n                \"bio\": \"This is just a testing account for demo purpose\"\n            },\n            \"title\": \"Mastering Frontend Web Development: A Guide to Crafting Engaging User Experiences\",\n            \"seoKeywords\": \"Frontend Web Development, HTML, CSS, JavaScript, React.js, Angular, Vue.js, Responsive Design, Career Opportunities\",\n            \"tags\": [\n                \"Frontend Development\",\n                \"Web Development\",\n                \"HTML\",\n                \"CSS\",\n                \"JavaScript\",\n                \"React.js\",\n                \"Responsive Design\",\n                \"Career Path\"\n            ],\n            \"metaDescription\": \"Unlock the potential of frontend web development as you delve into the fundamentals of HTML, CSS, and JavaScript. Explore essential frameworks and tools for crafting captivating user interfaces, and discover career pathways in this dynamic field.\",\n            \"content\": \"Frontend web development serves as the gateway to captivating user experiences and intuitive interfaces. As technology advances, the demand for skilled frontend developers continues to soar. This guide delves into the realm of frontend development, exploring its key concepts, tools, and career pathways.Understanding Frontend Web Development:Frontend development focuses on creating visually appealing and interactive interfaces that engage users and facilitate seamless navigation. It entails the use of HTML, CSS, and JavaScript to structure content, style elements, and add functionality to web pages.Essential Technologies and Frameworks:HTML (Hypertext Markup Language): The backbone of web development, HTML provides the structure for web pages, defining elements such as headings, paragraphs, and links.CSS (Cascading Style Sheets): CSS enables developers to style HTML elements, controlling aspects like layout, color, typography, and animation to enhance visual appeal.JavaScript: As a versatile programming language, JavaScript adds interactivity and dynamic behavior to web pages, enabling features like form validation, animations, and DOM manipulation.Frontend Frameworks: Frameworks like React.js, Angular, and Vue.js simplify frontend development by providing reusable components, state management, and routing capabilities, streamlining the development process and enhancing code maintainability.Tools for Productive Development:Code Editors: Choose from popular code editors like Visual Studio Code, Sublime Text, or Atom for writing, editing, and debugging code efficiently.CSS Preprocessors: Tools like Sass and Less extend CSS with features like variables, mixins, and nested rules, improving code organization and maintainability.Responsive Design Tools: Frameworks like Bootstrap and CSS Grid aid in creating responsive and mobile-friendly layouts, ensuring optimal user experience across devices.Career Opportunities and Advancement:Frontend developers play a crucial role in shaping user experiences and driving user engagement. With the proliferation of web-based applications and digital platforms, the demand for frontend developers remains high across various industries, including tech, e-commerce, and media.\",\n            \"public_image\": {\n                \"resource_id\": \"blog/posts/demo123/gitlgoujluwfk4d1gptg\",\n                \"resource_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710163848/blog/posts/demo123/gitlgoujluwfk4d1gptg.jpg\"\n            },\n            \"_id\": \"65ef07875b5510e9e92ddd65\"\n        }\n    ]\n}"}],"_postman_id":"c2b50c92-a70f-4916-ae24-d21bf86119ae"},{"name":"Get Specific post","id":"be24b8f8-002d-43a9-846c-53e541978931","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/blogs/full-stack-web-development","description":"<p><strong>Endpoint:</strong> GET /api/v1/blogs/:id<br /><strong>Description:</strong> This endpoint retrieves a specific blog post by its ID.<br /><strong>Request Parameters:</strong></p>\n<ul>\n<li><strong>id:</strong> The ID of the specific blog post to retrieve.</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>200 OK:</strong> Specific blog post fetched successfully. Returns details of the specified blog post along with its comments.</p>\n</li>\n<li><p><strong>400 Bad Request:</strong> If the provided blog post ID is invalid.</p>\n</li>\n<li><p><strong>404 Not Found:</strong> If the specified blog post ID is not found.</p>\n</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>Access control is not required for this endpoint as it's publicly accessible.</p>\n</li>\n<li><p>The response includes details of the blog post along with its comments.</p>\n</li>\n</ul>\n","urlObject":{"path":["blogs","full-stack-web-development"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"791e4a49-0cb3-4963-be8e-543aadff638b","name":"Get Specific post","originalRequest":{"method":"GET","header":[],"url":"{{server}}/blogs/65ef07795b5510e9e92ddd60"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Server","value":"nginx","type":"text"},{"key":"Date","value":"Mon, 11 Mar 2024 13:38:43 GMT","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"3386","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Vary","value":"Origin","type":"text"},{"key":"Access-Control-Allow-Credentials","value":"true","type":"text"},{"key":"X-RateLimit-Limit","value":"25","type":"text"},{"key":"X-RateLimit-Remaining","value":"23","type":"text"},{"key":"X-RateLimit-Reset","value":"1710164608","type":"text"},{"key":"ETag","value":"W/\"d3a-thCEJRwWz86URqPYxy/GZiiO2Bo\"","type":"text"},{"key":"X-Cache","value":"MISS","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Post fetched successfully\",\n    \"postDetails\": [\n        {\n            \"_id\": \"65ef07795b5510e9e92ddd60\",\n            \"author\": {\n                \"_id\": \"65eef6745e3bb295cfe56319\",\n                \"username\": \"demo123\",\n                \"firstName\": \"Demo\",\n                \"lastName\": \"mode\",\n                \"bio\": \"This is just a testing account for demo purpose\"\n            },\n            \"title\": \"Mastering Frontend Web Development: A Guide to Crafting Engaging User Experiences\",\n            \"seoKeywords\": \"Frontend Web Development, HTML, CSS, JavaScript, React.js, Angular, Vue.js, Responsive Design, Career Opportunities\",\n            \"tags\": [\n                \"Frontend Development\",\n                \"Web Development\",\n                \"HTML\",\n                \"CSS\",\n                \"JavaScript\",\n                \"React.js\",\n                \"Responsive Design\",\n                \"Career Path\"\n            ],\n            \"metaDescription\": \"Unlock the potential of frontend web development as you delve into the fundamentals of HTML, CSS, and JavaScript. Explore essential frameworks and tools for crafting captivating user interfaces, and discover career pathways in this dynamic field.\",\n            \"content\": \"Frontend web development serves as the gateway to captivating user experiences and intuitive interfaces. As technology advances, the demand for skilled frontend developers continues to soar. This guide delves into the realm of frontend development, exploring its key concepts, tools, and career pathways.Understanding Frontend Web Development:Frontend development focuses on creating visually appealing and interactive interfaces that engage users and facilitate seamless navigation. It entails the use of HTML, CSS, and JavaScript to structure content, style elements, and add functionality to web pages.Essential Technologies and Frameworks:HTML (Hypertext Markup Language): The backbone of web development, HTML provides the structure for web pages, defining elements such as headings, paragraphs, and links.CSS (Cascading Style Sheets): CSS enables developers to style HTML elements, controlling aspects like layout, color, typography, and animation to enhance visual appeal.JavaScript: As a versatile programming language, JavaScript adds interactivity and dynamic behavior to web pages, enabling features like form validation, animations, and DOM manipulation.Frontend Frameworks: Frameworks like React.js, Angular, and Vue.js simplify frontend development by providing reusable components, state management, and routing capabilities, streamlining the development process and enhancing code maintainability.Tools for Productive Development:Code Editors: Choose from popular code editors like Visual Studio Code, Sublime Text, or Atom for writing, editing, and debugging code efficiently.CSS Preprocessors: Tools like Sass and Less extend CSS with features like variables, mixins, and nested rules, improving code organization and maintainability.Responsive Design Tools: Frameworks like Bootstrap and CSS Grid aid in creating responsive and mobile-friendly layouts, ensuring optimal user experience across devices.Career Opportunities and Advancement:Frontend developers play a crucial role in shaping user experiences and driving user engagement. With the proliferation of web-based applications and digital platforms, the demand for frontend developers remains high across various industries, including tech, e-commerce, and media.\",\n            \"likes\": 0,\n            \"createdAt\": \"2024-03-11T13:30:33.377Z\",\n            \"public_image\": {\n                \"resource_id\": \"blog/posts/demo123/annydwketoguizaobgv3\",\n                \"resource_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710163834/blog/posts/demo123/annydwketoguizaobgv3.jpg\"\n            }\n        }\n    ],\n    \"comments\": []\n}"}],"_postman_id":"be24b8f8-002d-43a9-846c-53e541978931"},{"name":"Update Post","id":"5c99ea2a-95b7-4ec4-8b35-e50ab91bece0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"demo blog","type":"text","id":0},{"key":"postImage","type":"file","id":1,"fileUploadError":"","src":["C:\\Users\\Shubham Gupta\\Pictures\\20231024.jpg"]},{"key":"content","value":"demo blog content","type":"text","id":2},{"key":"seoKeywords","value":"git demo blog","type":"text","id":3,"disabled":true},{"key":"metaDescription","value":"this is for demo blog content","type":"text","id":4,"disabled":true},{"key":"tags","value":"[\"demo\",\"git\",\"coding\"]","type":"text","id":5},{"key":"authorId","value":"65e0b3952caebb67117796ed","type":"text","id":6}]},"url":"{{server}}/blogs/65e0b3442caebb67117796e2","description":"<p><strong>Endpoint:</strong> PUT /api/v1/blogs/:id<br /><strong>Description:</strong> This endpoint allows users to update a specific blog post.<br /><strong>Request Parameters:</strong></p>\n<ul>\n<li><strong>id:</strong> The ID of the specific blog post to update.</li>\n</ul>\n<p><strong>Request Body:</strong></p>\n<ul>\n<li><p><strong>title:</strong> The updated title of the blog post.</p>\n</li>\n<li><p><strong>postImage:</strong> The updated image for the blog post.</p>\n</li>\n<li><p><strong>content:</strong> The updated content of the blog post.</p>\n</li>\n<li><p><strong>seoKeywords:</strong> The updated SEO keywords for the blog post.</p>\n</li>\n<li><p><strong>metaDescription:</strong> The updated meta description for the blog post.</p>\n</li>\n<li><p><strong>tags:</strong> The updated tags for the blog post in JSON format.</p>\n</li>\n<li><p><strong>authorId:</strong> The ID of the author updating the blog post.</p>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>200 OK:</strong> Blog post updated successfully. Returns details of the updated blog post.</p>\n</li>\n<li><p><strong>400 Bad Request:</strong> If any required fields for updating the blog post are missing or invalid.</p>\n</li>\n<li><p><strong>403 Forbidden:</strong> If the user attempting to update the blog post is not authorized.</p>\n</li>\n<li><p><strong>404 Not Found:</strong> If the specified blog post ID is not found.</p>\n</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>Access control is applied to ensure only authorized users can update blog posts.</p>\n</li>\n<li><p>The response includes details of the updated blog post.</p>\n</li>\n<li><p>AuthorId and Id is mandatory and also one of the other updating term</p>\n</li>\n</ul>\n","urlObject":{"path":["blogs","65e0b3442caebb67117796e2"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"24a3a89c-4ce3-410a-82fb-53e152f673b7","name":"Update Post","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Edited : Mastering Frontend Web Development: A Guide to Crafting Engaging User Experiences","type":"text","id":0},{"key":"postImage","type":"file","id":1,"fileUploadError":"","src":["C:\\Users\\Shubham Gupta\\Pictures\\20231024.jpg"],"disabled":true},{"key":"content","value":"demo blog content","type":"text","id":2,"disabled":true},{"key":"seoKeywords","value":"git demo blog","type":"text","id":3,"disabled":true},{"key":"metaDescription","value":"this is for demo blog content","type":"text","id":4,"disabled":true},{"key":"tags","value":"[\"demo\",\"git\",\"coding\"]","type":"text","id":5,"disabled":true},{"key":"authorId","value":"65eef6745e3bb295cfe56319","type":"text","id":6}]},"url":"{{server}}/blogs/65ef07875b5510e9e92ddd65"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Server","value":"nginx","type":"text"},{"key":"Date","value":"Tue, 12 Mar 2024 12:23:03 GMT","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"3335","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Vary","value":"Origin","type":"text"},{"key":"Access-Control-Allow-Credentials","value":"true","type":"text"},{"key":"X-RateLimit-Limit","value":"10","type":"text"},{"key":"X-RateLimit-Remaining","value":"9","type":"text"},{"key":"X-RateLimit-Reset","value":"1710247084","type":"text"},{"key":"ETag","value":"W/\"d07-2vJCcWRy0ffd/oDe66meoW+GISs\"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Blog post updated successfully\",\n    \"blog\": {\n        \"public_image\": {\n            \"resource_id\": \"blog/posts/demo123/gitlgoujluwfk4d1gptg\",\n            \"resource_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710163848/blog/posts/demo123/gitlgoujluwfk4d1gptg.jpg\"\n        },\n        \"_id\": \"65ef07875b5510e9e92ddd65\",\n        \"author\": \"65eef6745e3bb295cfe56319\",\n        \"title\": \"Edited : Mastering Frontend Web Development: A Guide to Crafting Engaging User Experiences\",\n        \"seoKeywords\": \"Frontend Web Development, HTML, CSS, JavaScript, React.js, Angular, Vue.js, Responsive Design, Career Opportunities\",\n        \"tags\": [\n            \"Frontend Development\",\n            \"Web Development\",\n            \"HTML\",\n            \"CSS\",\n            \"JavaScript\",\n            \"React.js\",\n            \"Responsive Design\",\n            \"Career Path\"\n        ],\n        \"metaDescription\": \"Unlock the potential of frontend web development as you delve into the fundamentals of HTML, CSS, and JavaScript. Explore essential frameworks and tools for crafting captivating user interfaces, and discover career pathways in this dynamic field.\",\n        \"content\": \"Frontend web development serves as the gateway to captivating user experiences and intuitive interfaces. As technology advances, the demand for skilled frontend developers continues to soar. This guide delves into the realm of frontend development, exploring its key concepts, tools, and career pathways.Understanding Frontend Web Development:Frontend development focuses on creating visually appealing and interactive interfaces that engage users and facilitate seamless navigation. It entails the use of HTML, CSS, and JavaScript to structure content, style elements, and add functionality to web pages.Essential Technologies and Frameworks:HTML (Hypertext Markup Language): The backbone of web development, HTML provides the structure for web pages, defining elements such as headings, paragraphs, and links.CSS (Cascading Style Sheets): CSS enables developers to style HTML elements, controlling aspects like layout, color, typography, and animation to enhance visual appeal.JavaScript: As a versatile programming language, JavaScript adds interactivity and dynamic behavior to web pages, enabling features like form validation, animations, and DOM manipulation.Frontend Frameworks: Frameworks like React.js, Angular, and Vue.js simplify frontend development by providing reusable components, state management, and routing capabilities, streamlining the development process and enhancing code maintainability.Tools for Productive Development:Code Editors: Choose from popular code editors like Visual Studio Code, Sublime Text, or Atom for writing, editing, and debugging code efficiently.CSS Preprocessors: Tools like Sass and Less extend CSS with features like variables, mixins, and nested rules, improving code organization and maintainability.Responsive Design Tools: Frameworks like Bootstrap and CSS Grid aid in creating responsive and mobile-friendly layouts, ensuring optimal user experience across devices.Career Opportunities and Advancement:Frontend developers play a crucial role in shaping user experiences and driving user engagement. With the proliferation of web-based applications and digital platforms, the demand for frontend developers remains high across various industries, including tech, e-commerce, and media.\",\n        \"likes\": 0,\n        \"comments\": [],\n        \"isPublished\": true,\n        \"createdAt\": \"2024-03-11T13:30:47.780Z\",\n        \"updatedAt\": \"2024-03-12T12:23:03.431Z\",\n        \"__v\": 1\n    }\n}"}],"_postman_id":"5c99ea2a-95b7-4ec4-8b35-e50ab91bece0"},{"name":"Delete Post","id":"c6bffc79-1238-499c-b82a-7f0c28ee0b28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"authorId","value":"65d35d2ad16f5c0562983f94","type":"text","id":0}]},"url":"{{server}}/blogs/65e0b3952caebb67117796ed","description":"<p><strong>Endpoint:</strong> DELETE /api/v1/blogs/:id<br /><strong>Description:</strong> This endpoint allows users to delete a specific blog post.<br /><strong>Request Parameters:</strong></p>\n<ul>\n<li><strong>id:</strong> The ID of the specific blog post to delete.</li>\n</ul>\n<p><strong>Request Body:</strong></p>\n<ul>\n<li><strong>authorId:</strong> The ID of the author who created the blog post to be deleted.</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>200 OK:</strong> Blog post deleted successfully.</p>\n</li>\n<li><p><strong>403 Forbidden:</strong> If the user attempting to delete the blog post is not authorized.</p>\n</li>\n<li><p><strong>404 Not Found:</strong> If the specified blog post ID is not found.</p>\n</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>Access control is applied to ensure only authorized users can delete blog posts.</p>\n</li>\n<li><p>Upon successful deletion, related comments, likes, and resource files associated with the blog post are also deleted.</p>\n</li>\n<li><p>The response includes a success message indicating that the blog post was deleted successfully.</p>\n</li>\n</ul>\n","urlObject":{"path":["blogs","65e0b3952caebb67117796ed"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"03f40bfe-7cf9-433d-a41e-6e480aaf6e16","name":"Delete Post","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"authorId","value":"65eef6745e3bb295cfe56319","type":"text","id":0}]},"url":"{{server}}/blogs/65ef07875b5510e9e92ddd65"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Server","value":"nginx","type":"text"},{"key":"Date","value":"Tue, 12 Mar 2024 12:23:59 GMT","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"54","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Vary","value":"Origin","type":"text"},{"key":"Access-Control-Allow-Credentials","value":"true","type":"text"},{"key":"X-RateLimit-Limit","value":"12","type":"text"},{"key":"X-RateLimit-Remaining","value":"10","type":"text"},{"key":"X-RateLimit-Reset","value":"1710247126","type":"text"},{"key":"ETag","value":"W/\"36-h1dHx+ryosXJ0pmTdUm5ZUHD+PA\"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Post deleted successfully\"\n}"}],"_postman_id":"c6bffc79-1238-499c-b82a-7f0c28ee0b28"},{"name":"Get all posts by skip and limit","id":"72ef1641-2431-4fd3-9b8d-a98e89c23898","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/blogs/posts?skip=5","description":"<p><strong>Endpoint:</strong> GET /api/v1/blogs/posts<br /><strong>Description:</strong> This endpoint retrieves all published blog posts with pagination support.<br /><strong>Query Parameters:</strong></p>\n<ul>\n<li><p><strong>skip:</strong> The number of blog posts to skip.</p>\n</li>\n<li><p><strong>limit:</strong> The maximum number of blog posts to return per request (default limit is 10 if not provided).</p>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>200 OK:</strong> All posts fetched successfully. Returns an array of blog posts with details.</p>\n</li>\n<li><p><strong>500 Internal Server Error:</strong> If an error occurs while fetching the posts.</p>\n</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>Pagination allows users to retrieve a subset of blog posts at a time.</p>\n</li>\n<li><p>The response includes information about whether there are more posts available after the current set.</p>\n</li>\n</ul>\n","urlObject":{"path":["blogs","posts"],"host":["{{server}}"],"query":[{"key":"skip","value":"5"}],"variable":[]}},"response":[{"id":"00e02609-19eb-4234-9370-9d99f805eead","name":"Get all posts by skip and limit","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{server}}/blogs/posts?skip=2","host":["{{server}}"],"path":["blogs","posts"],"query":[{"key":"skip","value":"2","id":0,"sortOrder":0}]}},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Server","value":"nginx","type":"text"},{"key":"Date","value":"Tue, 12 Mar 2024 12:17:47 GMT","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"1222","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Vary","value":"Origin","type":"text"},{"key":"Access-Control-Allow-Credentials","value":"true","type":"text"},{"key":"X-RateLimit-Limit","value":"20","type":"text"},{"key":"X-RateLimit-Remaining","value":"18","type":"text"},{"key":"X-RateLimit-Reset","value":"1710246162","type":"text"},{"key":"ETag","value":"W/\"4c6-8jZDYWBAJiAC33xk2E4FCcTfDlw\"","type":"text"},{"key":"X-Cache","value":"MISS","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"All posts fetched successfully\",\n    \"areMore\": false,\n    \"posts\": [\n        {\n            \"_id\": \"65ef07875b5510e9e92ddd65\",\n            \"author\": {\n                \"_id\": \"65eef6745e3bb295cfe56319\",\n                \"username\": \"demo123\",\n                \"firstName\": \"Demo\",\n                \"lastName\": \"mode\",\n                \"avatar\": {\n                    \"public_id\": \"blog/user/avatar/shuks2mh8jkfl7u0lx4u\",\n                    \"secure_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710160659/blog/user/avatar/shuks2mh8jkfl7u0lx4u.jpg\"\n                }\n            },\n            \"title\": \"Mastering Frontend Web Development: A Guide to Crafting Engaging User Experiences\",\n            \"seoKeywords\": \"Frontend Web Development, HTML, CSS, JavaScript, React.js, Angular, Vue.js, Responsive Design, Career Opportunities\",\n            \"tags\": [\n                \"Frontend Development\",\n                \"Web Development\",\n                \"HTML\",\n                \"CSS\",\n                \"JavaScript\",\n                \"React.js\",\n                \"Responsive Design\",\n                \"Career Path\"\n            ],\n            \"metaDescription\": \"Unlock the potential of frontend web development as you delve into the fundamentals of HTML, CSS, and JavaScript. Explore essential frameworks and tools for crafting captivating user interfaces, and discover career pathways in this dynamic field.\",\n            \"likes\": 0,\n            \"public_image\": {\n                \"resource_id\": \"blog/posts/demo123/gitlgoujluwfk4d1gptg\",\n                \"resource_url\": \"https://res.cloudinary.com/dentjriek/image/upload/v1710163848/blog/posts/demo123/gitlgoujluwfk4d1gptg.jpg\"\n            }\n        }\n    ]\n}"}],"_postman_id":"72ef1641-2431-4fd3-9b8d-a98e89c23898"}]}