{"id":26400680,"url":"https://github.com/priyangsubanerjee/mongodb-nodejs","last_synced_at":"2026-04-29T08:35:33.279Z","repository":{"id":140274486,"uuid":"470203229","full_name":"priyangsubanerjee/mongodb-nodejs","owner":"priyangsubanerjee","description":"Learn how to connect mongoDB atlas with your Node js, React, Next Js project.","archived":false,"fork":false,"pushed_at":"2022-03-22T14:04:04.000Z","size":3839,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-13T14:58:58.177Z","etag":null,"topics":["database","mongodb","nodejs","schema"],"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/priyangsubanerjee.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-03-15T14:44:41.000Z","updated_at":"2022-03-22T07:45:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"9221af0a-1e53-4242-b6b0-63094f625574","html_url":"https://github.com/priyangsubanerjee/mongodb-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/priyangsubanerjee/mongodb-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyangsubanerjee%2Fmongodb-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyangsubanerjee%2Fmongodb-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyangsubanerjee%2Fmongodb-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyangsubanerjee%2Fmongodb-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/priyangsubanerjee","download_url":"https://codeload.github.com/priyangsubanerjee/mongodb-nodejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyangsubanerjee%2Fmongodb-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["database","mongodb","nodejs","schema"],"created_at":"2025-03-17T14:36:48.461Z","updated_at":"2026-04-29T08:35:33.275Z","avatar_url":"https://github.com/priyangsubanerjee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect mongoDb with Express app\n\nHey all, in this repo you will find all the necessary code to connect your express js app to your mongodb database.\nAll the files are in javascript with the boiler plate code. You can just pull it down and turn your ideas into reality.\n\n## Authors\n\n- 👔 [@priyangsubanerjee](https://www.github.com/priyangsubanerjee)\n\n## Requirements\n\nDevelopers can upload files (one file at a time) by sending POST request.\n\n- Database\n  -\n  - `mongoDb` connection url.\n  - Database `username` \u0026 `password` with read \u0026 write permission.\n\n- Packages\n  -\n  - `npm i mongoose`\n## Installation\n\n```bash\n  $ git clone https://https://github.com/priyangsubanerjee/mongodb-nodejs.git\n  $ cd mongodb-nodejs\n  $ npm install\n  $ npm start\n```\n\nDefault `port` is `3000`\n\n- Visit https://localhost:3000 to view your project in browser.\n- Open up the terminal in your VsCode and check if `Connected` has been logged.\n- Now connection has been established with mongoDb Atlas.\n\n`Note:` Change `username` and `password` parameters with your own database credentials.\n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyangsubanerjee%2Fmongodb-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpriyangsubanerjee%2Fmongodb-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyangsubanerjee%2Fmongodb-nodejs/lists"}