{"id":18822984,"url":"https://github.com/morzhanov/nodejs-express-boilerplate","last_synced_at":"2026-04-08T12:33:29.506Z","repository":{"id":122681627,"uuid":"108127300","full_name":"morzhanov/nodejs-express-boilerplate","owner":"morzhanov","description":"Node.js Boilerplate is an project that allows you to start new node.js project from scratch.","archived":false,"fork":false,"pushed_at":"2018-10-15T15:45:58.000Z","size":201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T12:26:51.818Z","etag":null,"topics":["bolierplate","expressjs","formidable","javascript","mocha","mongodb","mongoose","nodejs","supertest"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/morzhanov.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":"2017-10-24T13:00:55.000Z","updated_at":"2018-10-15T15:46:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa85b7b0-7ee9-47bb-93fd-147d375accaa","html_url":"https://github.com/morzhanov/nodejs-express-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/morzhanov/nodejs-express-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morzhanov%2Fnodejs-express-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morzhanov%2Fnodejs-express-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morzhanov%2Fnodejs-express-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morzhanov%2Fnodejs-express-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morzhanov","download_url":"https://codeload.github.com/morzhanov/nodejs-express-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morzhanov%2Fnodejs-express-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31556233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["bolierplate","expressjs","formidable","javascript","mocha","mongodb","mongoose","nodejs","supertest"],"created_at":"2024-11-08T00:52:18.346Z","updated_at":"2026-04-08T12:33:29.478Z","avatar_url":"https://github.com/morzhanov.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS ExpressJS Boilerplate\n\n\u003cimg src=\"https://i.imgur.com/KbO2Soz.jpg\"/\u003e\n\nNode.js Boilerplate is an project that allows you to start new node.js project from scratch.\n\n## Installation\n\nUse these steps to install project\n1. npm i\n2. Create MongoDB databse\n3. Add MONGODB_URL and MONGODB_TEST_URL to environment variable (optional)\n4. npm start\n\nAlternatively you can run: \"npm run http\" on step 4 to run HTTP server. \n\n## Usage\n\nThis boilerplate contains such folders:\n\n* \u003cb\u003e/src \u003c/b\u003e - main sources folder.\n* \u003cb\u003e/src/constants \u003c/b\u003e - app constants.\n* \u003cb\u003e/src/controllers \u003c/b\u003e - contain controllers that receives requests from routes, executes business logic via services and returns responses to client. \n* \u003cb\u003e/src/db \u003c/b\u003e - contain scripts to setup and manage database\n* \u003cb\u003e/src/error \u003c/b\u003e - custom errors\n* \u003cb\u003e/src/middleware \u003c/b\u003e - app middlewares\n* \u003cb\u003e/src/models \u003c/b\u003e - database models (schemas)\n* \u003cb\u003e/src/routes \u003c/b\u003e - configure here youre app's routes\n* \u003cb\u003e/src/services \u003c/b\u003e - services contains logic to manage database, execute requests to other servers, change application behabior, and etc.\n* \u003cb\u003e/src/index.ts \u003c/b\u003e - contain main scripts that configures and run server\n\n* \u003cb\u003e/test \u003c/b\u003e - contains tests for controllers, services and other parts of application.\n\n## NPM Scripts\n\n* start - run node.js server\n* test - test server with Mocha\n* lint - run eslint check\n\n## Main Technologies and libraries\n\n- \u003ca href=\"https://nodejs.org/en/\"\u003eNodeJS\u003c/a\u003e\n- \u003ca href=\"https://expressjs.com/\"\u003eExpressJS\u003c/a\u003e\n- \u003ca href=\"https://www.typescriptlang.org/\"\u003eTypescript\u003c/a\u003e\n- \u003ca href=\"https://jwt.io/\"\u003eJWT\u003c/a\u003e\n- \u003ca href=\"https://github.com/helmetjs/helmet\"\u003eHelmet\u003c/a\u003e\n- \u003ca href=\"https://github.com/request/request\"\u003eRequest\u003c/a\u003e\n- \u003ca href=\"https://github.com/felixge/node-formidable\"\u003eFormidable\u003c/a\u003e\n- \u003ca href=\"https://mongoosejs.com/\"\u003eMongoose\u003c/a\u003e\n- \u003ca href=\"https://github.com/expressjs/morgan\"\u003eMorgan\u003c/a\u003e\n- \u003ca href=\"https://mochajs.org/\"\u003eMocha\u003c/a\u003e\n- \u003ca href=\"https://github.com/visionmedia/supertest\"\u003eSupertest\u003c/a\u003e\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Author\n\nVlad Morzhanov\n\n## License\n\n#### (The MIT License)\n\nCopyright (c) 2018 Vlad Morzhanov.\nYou can review license in the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorzhanov%2Fnodejs-express-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorzhanov%2Fnodejs-express-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorzhanov%2Fnodejs-express-boilerplate/lists"}