{"id":16323280,"url":"https://github.com/camesine/express-kit-starter","last_synced_at":"2026-04-10T02:16:50.558Z","repository":{"id":90830517,"uuid":"91982243","full_name":"camesine/express-kit-starter","owner":"camesine","description":"Node.js + ExpressJS + MongooseJS + BabelJS + JWT + ES2015 + Mocha + Chai + Clustering + Eslint","archived":false,"fork":false,"pushed_at":"2017-12-08T23:49:08.000Z","size":6051,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T04:18:35.980Z","etag":null,"topics":["babel","chai","clustering","commonjs","cors","es2015","eslint","express","jwt","mocha","mongoose","nodejs","rest-api","unittest"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/camesine.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-05-21T19:32:12.000Z","updated_at":"2018-04-10T21:31:22.000Z","dependencies_parsed_at":"2023-03-17T19:45:41.512Z","dependency_job_id":null,"html_url":"https://github.com/camesine/express-kit-starter","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/camesine%2Fexpress-kit-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camesine%2Fexpress-kit-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camesine%2Fexpress-kit-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camesine%2Fexpress-kit-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/camesine","download_url":"https://codeload.github.com/camesine/express-kit-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254160647,"owners_count":22024574,"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":["babel","chai","clustering","commonjs","cors","es2015","eslint","express","jwt","mocha","mongoose","nodejs","rest-api","unittest"],"created_at":"2024-10-10T22:54:28.469Z","updated_at":"2026-04-10T02:16:50.507Z","avatar_url":"https://github.com/camesine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-kit-starter\nNode.js + ExpressJS + MongooseJS + BabelJS + JWT + ES2015 + Mocha + Chai + Clustering + Eslint\n------------\n# What use this Starter App?\n- **JWT** for protect routes.\n- **Clustering mode** for load many forks depending of the CPU's units.\n- **Mongoose** for ORM.\n- **ES2015** with the last of javascript like promises and async/await.\n- **Mocha and Chai** for testing.\n##Structure\n```json\n/app\n\t/controllers (Controllers of the app)\n\t/middlewares (Middlewares for the routes of the app)\n\t/routes (Routes for Controllers of the app)\n\t/service (Services for using in any Controller)\n\t/models (Models configuration for use)\n\tRouter.js (Config file for Routing)\nconfig.json (Config file for the app)\nserver.js (Main file to start the app)\n```\n# Install\n1. First clone this repository.\n\t\thttps://github.com/camesine/node-restful-starter.git\n2. Download all dependencies.\n\t\tnpm install\n3. Edit the file ./config.json with your own settings:\n```json\n\t{\n    \"SECRET\": \"HltH3R3\",\n    \"PORT\": 1344,\n    \"DATABASE\": {\n        \"SERVER\": \"mongodb://127.0.0.1:27017/sampledatabase\"}\n    }\n```\n## Start App\nWhen execute any of this commands the app start with clustering, creating many cluster apps depending of the numbers of CPU's your computer had.\n## Development\n\t\tnpm run dev -\u003e (./node_modules/.bin/nodemon server.js --exec ./node_modules/.bin/babel-node)\n\tIn Development mode the express app is starter with nodemon for automatic refresh when do changes.\n## Production\n\t\tnpm start -\u003e (npm run build \u0026\u0026 node ./dist/server.js)\n## Build\n\t\tnpm start -\u003e (npm run clean \u0026\u0026 ./node_modules/.bin/babel server.js --out-dir dist \u0026\u0026 ./node_modules/.bin/babel app --out-dir dist/app \u0026\u0026 cp config.json dist)\n## Test\n        npm test -\u003e (./node_modules/.bin/_mocha --require babel-core/register)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamesine%2Fexpress-kit-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcamesine%2Fexpress-kit-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamesine%2Fexpress-kit-starter/lists"}