{"id":14975549,"url":"https://github.com/techreagan/nodejs-and-expressjs-with-mongodb-boilerplate","last_synced_at":"2025-10-27T14:30:26.865Z","repository":{"id":115597838,"uuid":"233953023","full_name":"techreagan/NodeJS-and-ExpressJS-with-MongoDB-Boilerplate","owner":"techreagan","description":"This is my boilerplate for RESTful API with NodeJS and MongoDB","archived":false,"fork":false,"pushed_at":"2022-09-27T02:55:03.000Z","size":76,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T05:51:09.337Z","etag":null,"topics":["boilerplate","expressjs","jwt","mongodb","mongoosejs","nodejs","npm","npm-package","restful","restful-api","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/techreagan.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":"2020-01-14T23:03:14.000Z","updated_at":"2024-02-24T15:08:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6ae7757-1b66-439c-b84e-770513bc2440","html_url":"https://github.com/techreagan/NodeJS-and-ExpressJS-with-MongoDB-Boilerplate","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/techreagan%2FNodeJS-and-ExpressJS-with-MongoDB-Boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2FNodeJS-and-ExpressJS-with-MongoDB-Boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2FNodeJS-and-ExpressJS-with-MongoDB-Boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2FNodeJS-and-ExpressJS-with-MongoDB-Boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techreagan","download_url":"https://codeload.github.com/techreagan/NodeJS-and-ExpressJS-with-MongoDB-Boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238508433,"owners_count":19484133,"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":["boilerplate","expressjs","jwt","mongodb","mongoosejs","nodejs","npm","npm-package","restful","restful-api","typescript"],"created_at":"2024-09-24T13:52:11.715Z","updated_at":"2025-10-27T14:30:25.092Z","avatar_url":"https://github.com/techreagan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS / ExpressJS MongoDB(Mongoose) Boilerplate\n\nThis is my boilerplate for RESTful API with NodeJS and MongoDB.\n\n## Boilerplate Folders\n\n- advance typescript - typescript version that uses decorators for the boilerplate\n- basic typescript - typescript version of the boilerplate\n- vanilla js - vanilla javascript boilerplate\n\n## Boilerplate Features\n\n- Authentication with JWT\n- Reset Password with email (Using mailtrap for email testing)\n- Email verification (Using mailtrap for email testing)\n- User Create, Read, Update and Delete (CRUD) operations\n- API Security (NoSQL Injections, XSS Attacks, http param pollution etc)\n\n## Configuration File\n\nModify the config/.env file to your environment variables, set your JWT_SECRET and SMTP variables\n\n```ENV\nNODE_ENV=development\nPORT=3001\n\nMONGO_URI=YOUR_URL\n\nJWT_SECRET=YOUR_SECRET\nJWT_EXPIRE=30d\nJWT_COOKIE_EXPIRE=30\n\n#In Minutes\nRESET_PASSWORD_EXPIRATION_TIME=10\nEMAIL_VERIFICATION_EXPIRATION_TIME=10\n\nSMTP_HOST=smtp.mailtrap.io\nSMTP_PORT=2525\nSMTP_EMAIL=\nSMTP_PASSWORD=\nFROM_EMAIL=noreply@boilerplate.com\nFROM_NAME=Boilerplate\n```\n\n## Installation\n\nInstall all npm dependecies\n\n```console\nnpm install\n```\n\nInstall nodemon globally\n\n```console\nnpm install -g nodemon\n```\n\nRun database seeder\n\n```console\nnode seeder -i\n```\n\nDelete all data\n\n```console\nnode seeder -d\n```\n\n## Run Boilerplate\n\n```console\nnode run dev\n```\n\n## License\n\nThis project is licensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechreagan%2Fnodejs-and-expressjs-with-mongodb-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechreagan%2Fnodejs-and-expressjs-with-mongodb-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechreagan%2Fnodejs-and-expressjs-with-mongodb-boilerplate/lists"}