{"id":21725528,"url":"https://github.com/dunghenry/api_todos","last_synced_at":"2026-04-12T21:38:09.568Z","repository":{"id":107270804,"uuid":"491445069","full_name":"dunghenry/api_todos","owner":"dunghenry","description":"Backend todos","archived":false,"fork":false,"pushed_at":"2024-09-17T09:56:34.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T19:28:26.397Z","etag":null,"topics":["body-parser","cors","expressjs","mongodb-atlas","nodemon","restful-api"],"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/dunghenry.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":"2022-05-12T09:20:36.000Z","updated_at":"2024-09-17T09:56:37.000Z","dependencies_parsed_at":"2024-02-05T11:31:48.796Z","dependency_job_id":"f7173d46-484e-49c2-9efc-85b86165ff78","html_url":"https://github.com/dunghenry/api_todos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Fapi_todos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Fapi_todos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Fapi_todos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Fapi_todos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dunghenry","download_url":"https://codeload.github.com/dunghenry/api_todos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706500,"owners_count":20496570,"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":["body-parser","cors","expressjs","mongodb-atlas","nodemon","restful-api"],"created_at":"2024-11-26T03:18:58.611Z","updated_at":"2026-04-12T21:38:04.526Z","avatar_url":"https://github.com/dunghenry.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"I,  Setup and config MVC:\n\n    1.Create folder express-todos\n\n    2.cd express-todos\n\n    3.npm init -y\n\n    4.npm i express helmet cors morgan dotenv mongoose nodemon body-parser\n    \n    5.create folder src\n\n    6. cd src and create foler controlers, models, routes, heplers, config, \n    create file index.js and .env\n\nII, Use API\n\n1.Get all todo\n\n\u003e GET    /api/v1/todos\n\n2.Get todo by id\n\u003e GET    /api/v1/todos/:id\n\n3.Create todo\n\n\u003e POST   /api/v1/todos\n\n4.Update todo by id\n\n\u003e PUT    /api/v1/todos/:id\n\n5.Delete todo by id\n\n\u003e DELETE /api/v1/todos/:id","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunghenry%2Fapi_todos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdunghenry%2Fapi_todos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunghenry%2Fapi_todos/lists"}