{"id":18398548,"url":"https://github.com/mongodb-developer/mongodb-express-rest-api-example","last_synced_at":"2025-04-06T09:09:09.507Z","repository":{"id":40437978,"uuid":"394315978","full_name":"mongodb-developer/mongodb-express-rest-api-example","owner":"mongodb-developer","description":"Example for the article on MongoDB and Express JS web REST API tutorial","archived":false,"fork":false,"pushed_at":"2024-07-22T11:34:24.000Z","size":1180,"stargazers_count":144,"open_issues_count":3,"forks_count":184,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-30T07:12:02.537Z","etag":null,"topics":["expressjs","mongodb","mongodb-driver","node-js","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb-developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-08-09T14:09:20.000Z","updated_at":"2025-03-28T10:12:14.000Z","dependencies_parsed_at":"2025-01-13T06:03:40.709Z","dependency_job_id":"835d9da3-1498-4091-a7a4-e1ba27e97b66","html_url":"https://github.com/mongodb-developer/mongodb-express-rest-api-example","commit_stats":{"total_commits":48,"total_committers":3,"mean_commits":16.0,"dds":0.5833333333333333,"last_synced_commit":"e9a5b28cce95d04b73f2c74031fe08abbdedde74"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fmongodb-express-rest-api-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fmongodb-express-rest-api-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fmongodb-express-rest-api-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fmongodb-express-rest-api-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb-developer","download_url":"https://codeload.github.com/mongodb-developer/mongodb-express-rest-api-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457803,"owners_count":20941906,"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":["expressjs","mongodb","mongodb-driver","node-js","rest-api"],"created_at":"2024-11-06T02:22:45.743Z","updated_at":"2025-04-06T09:09:09.487Z","avatar_url":"https://github.com/mongodb-developer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB and Express.js REST API sample application\n\nThis repository contains the sample application for the [MongoDB and Express.js REST API tutorial](https://www.mongodb.com/languages/express-mongodb-rest-api-tutorial).\n\n## How To Run\n\n1. You can follow the [Getting Started with Atlas](https://docs.atlas.mongodb.com/getting-started/) guide, to learn how to create a free Atlas account, create your first cluster and get your Connection String to the database.\nThen, set the Atlas URI connection parameter in `server/.env` to your Connection String:\n```\nATLAS_URI=mongodb+srv://\u003cusername\u003e:\u003cpassword\u003e@sandbox.jadwj.mongodb.net/myFirstDatabase?retryWrites=true\u0026w=majority\n```\n\n2. Start the Express server:\n```\ncd server\nnpm install\nnpm run dev\n```\n\n3. Start the React app (in a new terminal window):\n```\ncd app\nnpm install\nnpm start\n```\n\n## Disclaimer\n\nUse at your own risk; not a supported MongoDB product\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb-developer%2Fmongodb-express-rest-api-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb-developer%2Fmongodb-express-rest-api-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb-developer%2Fmongodb-express-rest-api-example/lists"}