{"id":25782219,"url":"https://github.com/mahdimotamedi/nodejs-mongodb-api-example","last_synced_at":"2025-06-15T05:32:22.252Z","repository":{"id":126185385,"uuid":"138457996","full_name":"mahdimotamedi/nodejs-mongodb-api-example","owner":"mahdimotamedi","description":"MVC api project with NodeJS and Express and MongoDB","archived":false,"fork":false,"pushed_at":"2018-08-01T12:42:34.000Z","size":15,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-01T21:05:25.107Z","etag":null,"topics":["api","example","expressjs","mongodb","mvc","nodejs"],"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/mahdimotamedi.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":"2018-06-24T06:08:56.000Z","updated_at":"2022-07-21T07:15:09.000Z","dependencies_parsed_at":"2023-07-04T23:32:06.634Z","dependency_job_id":null,"html_url":"https://github.com/mahdimotamedi/nodejs-mongodb-api-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mahdimotamedi/nodejs-mongodb-api-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdimotamedi%2Fnodejs-mongodb-api-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdimotamedi%2Fnodejs-mongodb-api-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdimotamedi%2Fnodejs-mongodb-api-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdimotamedi%2Fnodejs-mongodb-api-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahdimotamedi","download_url":"https://codeload.github.com/mahdimotamedi/nodejs-mongodb-api-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdimotamedi%2Fnodejs-mongodb-api-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259926928,"owners_count":22933131,"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":["api","example","expressjs","mongodb","mvc","nodejs"],"created_at":"2025-02-27T07:38:49.489Z","updated_at":"2025-06-15T05:32:22.235Z","avatar_url":"https://github.com/mahdimotamedi.png","language":"JavaScript","readme":"# NodeJS and MongoDB api example\n\n\u003e MVC api project with NodeJS and Express and MongoDB\n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# serve application at localhost:8081\nnpm start\n\n# serve application at localhost:8081 for developing\nnpm run dev\n\n# do not forget to run mongodb :)\n```\n\n## Postman\n\nour api test is on postman:\u003cbr\u003e\nhttps://www.getpostman.com/collections/91ec44dd2f21635f6192\n\n\u003e please install Postman and import collection to test api. \u003cbr\u003e\nit's a very handy software to test api and make doc for that\n\n## Packages\n\n* **bcrypt** : encryption password\n* **emailsender** : send emails\n* **express-rate-limit** : rate limit of express\n* **express-validator** : validate requests\n* **jsonwebtoken** : make json web token\n* **mongoose** : connect and use MongoDB\n* **mongoose-paginate** : pagination data for MongoDB\n* **mongoose-timestamp** : CreatedAt and UpdatedAt fields for MongoDB\n* **multer** : upload files\n* **uniqid** : make string for validate email\n \n## Help\n\n**header for send token** : x-access-token\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahdimotamedi%2Fnodejs-mongodb-api-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahdimotamedi%2Fnodejs-mongodb-api-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahdimotamedi%2Fnodejs-mongodb-api-example/lists"}