{"id":20234351,"url":"https://github.com/mvaibhav131/blogapi_task","last_synced_at":"2026-04-08T11:32:04.323Z","repository":{"id":166415968,"uuid":"641497755","full_name":"mvaibhav131/BlogAPI_Task","owner":"mvaibhav131","description":"BlogApp_API","archived":false,"fork":false,"pushed_at":"2023-05-17T10:50:33.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-06T03:47:27.397Z","etag":null,"topics":["api-rest","api-testing","bcryptjs","expressjs","jest","json","jwt","mongodb","mongoose","mvc-architecture","nodejs","supertest","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mvaibhav131.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-05-16T15:36:41.000Z","updated_at":"2023-05-17T13:58:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d80c4af-360d-4552-83d4-6a5bf98da810","html_url":"https://github.com/mvaibhav131/BlogAPI_Task","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mvaibhav131/BlogAPI_Task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaibhav131%2FBlogAPI_Task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaibhav131%2FBlogAPI_Task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaibhav131%2FBlogAPI_Task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaibhav131%2FBlogAPI_Task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mvaibhav131","download_url":"https://codeload.github.com/mvaibhav131/BlogAPI_Task/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaibhav131%2FBlogAPI_Task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api-rest","api-testing","bcryptjs","expressjs","jest","json","jwt","mongodb","mongoose","mvc-architecture","nodejs","supertest","unit-testing"],"created_at":"2024-11-14T08:10:00.516Z","updated_at":"2026-04-08T11:32:04.283Z","avatar_url":"https://github.com/mvaibhav131.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlogAPI_Task\n## clone the above repo and install dependancy using command ==\u003e `npm install`\n## run ==\u003e`npm start`\n## Your server is run in==\u003e `localhost:5000`\n \n### to check the api routes with foll url\n### Base Url for blogs: `localhost:5000/blogs`\n### Base Url for user: `localhost:5000/user`\n\n# Routes for Blogs:\n\n## get(\"/\",getAllBlogs); // Get all blogs\n## post(\"/add\",addBlogs); // Create new blogs\n## put(\"/update/:id\",updateblog); // Update blogs according to id\n## get(\"/:id\",getById); //Get blog by id \n## delete(\"/:id\",deleteBlog); //Delete blog by id\n## get(\"/user/:id\",getByUserId); //Get blog by userID\n## post(\"/search\",getByKeyword); // Search blog according to keywords\n  \n# Routes for User:  \n## get(\"/\",getAllUser ); // Get all user list \n## post(\"/signup\",signup); // Sign up user\n## post(\"/login\",login); // Login User\n\n# TestCases is added for both user and blogs\n## To Run TestCases run command ==\u003e `npm run test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvaibhav131%2Fblogapi_task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvaibhav131%2Fblogapi_task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvaibhav131%2Fblogapi_task/lists"}