{"id":20517431,"url":"https://github.com/marialobillo/blog_rtk","last_synced_at":"2026-04-11T17:33:35.642Z","repository":{"id":199447722,"uuid":"702911243","full_name":"marialobillo/blog_rtk","owner":"marialobillo","description":"nodejs/expressjs, mongodb, docker","archived":false,"fork":false,"pushed_at":"2023-11-21T19:04:55.000Z","size":84,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T10:13:57.558Z","etag":null,"topics":["docker","docker-compose","expressjs","mongodb","mongoose","nodejs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marialobillo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-10T08:41:39.000Z","updated_at":"2024-10-25T13:56:51.000Z","dependencies_parsed_at":"2024-11-15T21:35:32.246Z","dependency_job_id":"9e4ab2d6-2f94-4e66-9dac-6050de7b1844","html_url":"https://github.com/marialobillo/blog_rtk","commit_stats":null,"previous_names":["marialobillo/blog_rtk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marialobillo%2Fblog_rtk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marialobillo%2Fblog_rtk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marialobillo%2Fblog_rtk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marialobillo%2Fblog_rtk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marialobillo","download_url":"https://codeload.github.com/marialobillo/blog_rtk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242123170,"owners_count":20075344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","expressjs","mongodb","mongoose","nodejs"],"created_at":"2024-11-15T21:35:26.002Z","updated_at":"2026-04-11T17:33:30.593Z","avatar_url":"https://github.com/marialobillo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Blog API - Nodejs/Expressjs + MongoDB\n\n### Installation\n\n```\nnpm install\n```\n\n### Run\n\n```\nnpm start\n```\n\n\n### API Endpoints\n\n## Authentication\n\n```\nRegister : POST https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/auth/register\nPayload : \n{\n\t\"fullName\": \"Jhon Doe\",\n\t\"email\": \"jhon@mail.com\",\n\t\"password\": \"123456\"\n}\n\n```\n\n```\nLogin : POST https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/auth/login\nPayload : \n{\n\t\"email\": \"jhon@mail.com\",\n\t\"password\": \"123456\"\n}\n\n```\n\n## Blog\n\n```\nCreate Blog : POST https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/blogs\nPayload : \n{\n\t\"title\": \"This is a title\",\n\t\"content\": \"This a content\",\n\t\"authorId\": \"6527df778315bb48cc357a4a\"\n}\n\nBearer token needed\n```\n\n```\nGet all blogs : GET https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/blogs \n\nBearer token needed\n```\n\n```\nGet blogs by authorId : GET https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/blogs/6527df778315bb48cc357a4a\n\nBearer token needed\n```\n\n```\nUpdate Blog : PUT https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/blogs/5f1b4b4b6b4b5b0017b4b5b4\nPayload : \n{\n\t\"title\": \"This is a title edited\",\n\t\"content\": \"This a content edited\",\n\t\"authorId\": \"6527df778315bb48cc357a4a\"\n}\n\nBearer token needed\n```\n\n```\nDelete Blog : DELETE https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/blogs/5f1b4b4b6b4b5b0017b4b5b4\n\nBearer token needed\n```\n\n## Comments\n\n```\nCreate Comment : POST https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/comments\nPayload : \n{\n\t\"message\": \"This is a comment\",\n\t\"blogId\": \"Blog Id should be here\",\n\t\"authorId\": \"6527df778315bb48cc357a4a\"\n}\n\nBearer token needed\n```\n\n```\nGet comments by blogId : GET https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/comments/6527df778315bb48cc357a4a\n\nBearer token needed\n```\n\n```\nUpdate Comment : PUT https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/comment/65257a57995a4385b5e738b4\nPayload : \n{\n\t\"message\": \"This is a message\",\n\t\"authorId\": \"65255db2345e3eb27ce0c958\",\n\t\"blogId\": \"65257a57995a4385b5e738b4\"\n}\n\nBearer token needed\n```\n\n```\nDelete Comment : DELETE https://stark-woodland-39967-6ce08a14883b.herokuapp.com/api/v1/comments/65257a57995a4385b5e738b4\n\nBearer token needed\n```\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarialobillo%2Fblog_rtk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarialobillo%2Fblog_rtk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarialobillo%2Fblog_rtk/lists"}