{"id":19452120,"url":"https://github.com/diogo405/express-mongo-rest-sample","last_synced_at":"2026-05-15T17:03:26.536Z","repository":{"id":42730472,"uuid":"283905654","full_name":"diogo405/express-mongo-rest-sample","owner":"diogo405","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T13:00:55.000Z","size":209,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-07T23:55:35.088Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/diogo405.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}},"created_at":"2020-07-31T00:35:19.000Z","updated_at":"2020-09-04T00:35:26.000Z","dependencies_parsed_at":"2023-02-06T03:30:28.420Z","dependency_job_id":null,"html_url":"https://github.com/diogo405/express-mongo-rest-sample","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/diogo405%2Fexpress-mongo-rest-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogo405%2Fexpress-mongo-rest-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogo405%2Fexpress-mongo-rest-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogo405%2Fexpress-mongo-rest-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diogo405","download_url":"https://codeload.github.com/diogo405/express-mongo-rest-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240639658,"owners_count":19833519,"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":[],"created_at":"2024-11-10T16:45:36.357Z","updated_at":"2026-05-15T17:03:21.516Z","avatar_url":"https://github.com/diogo405.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-mongo-rest-sample\nA sample REST API using Node.js (Express) + MongoDB. It has all CRUD operations for a user entity ({\"name\": \"Ayrton Senna\"}).\n\n## Architecture\nThe entry point is app.js which init the routes and the server. A request to the API has the flow \"route -\u003e service -\u003e database\". \n\nE.g. GET /user  \nrequest -\u003e userRoutes -\u003e userService -\u003e Mongodb.\n\nAll responses are wrapped in the ApiResponse class (id, success, payload, error). And all errors wrapped in the ApiError class.\n\nLastly, there's a exception handler to deal with uncaught errors (routes/handler.js).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiogo405%2Fexpress-mongo-rest-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiogo405%2Fexpress-mongo-rest-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiogo405%2Fexpress-mongo-rest-sample/lists"}