{"id":21326494,"url":"https://github.com/maximemoreillon/mongodb_crud_rest_api","last_synced_at":"2026-04-16T01:33:30.868Z","repository":{"id":87273537,"uuid":"300282348","full_name":"maximemoreillon/mongodb_crud_rest_api","owner":"maximemoreillon","description":"A simple RESTful API for a MongoDB database","archived":false,"fork":false,"pushed_at":"2021-05-18T00:40:55.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-30T13:29:27.575Z","etag":null,"topics":["mongodb","rest-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/maximemoreillon.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-10-01T13:05:51.000Z","updated_at":"2023-03-10T22:18:03.000Z","dependencies_parsed_at":"2023-03-31T04:03:16.368Z","dependency_job_id":null,"html_url":"https://github.com/maximemoreillon/mongodb_crud_rest_api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maximemoreillon/mongodb_crud_rest_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximemoreillon%2Fmongodb_crud_rest_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximemoreillon%2Fmongodb_crud_rest_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximemoreillon%2Fmongodb_crud_rest_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximemoreillon%2Fmongodb_crud_rest_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximemoreillon","download_url":"https://codeload.github.com/maximemoreillon/mongodb_crud_rest_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximemoreillon%2Fmongodb_crud_rest_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31867711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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":["mongodb","rest-api"],"created_at":"2024-11-21T21:09:56.668Z","updated_at":"2026-04-16T01:33:30.855Z","avatar_url":"https://github.com/maximemoreillon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB CRUD REST API\n\nA simple RESTful API for a MongoDB Database\n\n## API\n\n| Route | Method | Query / Body | Description |\n| --- | --- | --- | --- |\n| /collections | GET | - | Get a list of all available collections |\n| /collections/COLLECTION_NAME | DELETE | - | Drop the collection called \"COLLECTION_NAME\" |\n| /collections/COLLECTION_NAME/documents | POST | properties (JSON) | Creates a document in the collection called \"COLLECTION_NAME\" |\n| /collections/COLLECTION_NAME/documents | GET | - | Get all documents from the collection called \"COLLECTION_NAME\" |\n| /collections/COLLECTION_NAME/documents/DOCUMENT_ID | GET | - | Get the document with the ID \"DOCUMENT_ID\" from the collection called \"COLLECTION_NAME\" |\n| /collections/COLLECTION_NAME/documents/DOCUMENT_ID | DELETE | - | Delete the document with the ID \"DOCUMENT_ID\" from the collection called \"COLLECTION_NAME\" |\n| /collections/COLLECTION_NAME/documents/DOCUMENT_ID | PUT | properties (JSON) | Replace the properties of  the document with the ID \"DOCUMENT_ID\" from the collection called \"COLLECTION_NAME\" |\n| /collections/COLLECTION_NAME/documents/DOCUMENT_ID | PATCH | properties (JSON) | Update the properties of the document with the ID \"DOCUMENT_ID\" from the collection called \"COLLECTION_NAME\" |\n\n## Environment variables\n\n\n| Variable | Description |\n| --- | --- |\n| MONGODB_URL | The URL of the MongoDB database to be used by the service |\n| MONGODB_DB_NAME | OPTIONAL The name of the database to be used by the service |\n| APP_PORT | OPTIONAL The port used by Express to listen to |\n\n## Deployment\n\n### Docker\n\n```\ndocker run -e MONGODB_URL=http://your-db-url moreillon/mongodb-crud-rest-api\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximemoreillon%2Fmongodb_crud_rest_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximemoreillon%2Fmongodb_crud_rest_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximemoreillon%2Fmongodb_crud_rest_api/lists"}