{"id":15639955,"url":"https://github.com/bytesleo/nodetomic-api","last_synced_at":"2025-09-11T21:39:18.984Z","repository":{"id":54491600,"uuid":"94353826","full_name":"bytesleo/nodetomic-api","owner":"bytesleo","description":"NEW VERSION HERE https://github.com/kevoj/nodetomic RESTful API Nodejs designed for horizontal scalability with support for cluster, based on Express, MongoDB, Redis, JWT, Socket.io, Passport.","archived":false,"fork":false,"pushed_at":"2025-01-16T14:43:41.000Z","size":2160,"stargazers_count":81,"open_issues_count":1,"forks_count":34,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T14:11:09.779Z","etag":null,"topics":["babel","es6","expressjs","javascript","mongodb","node-api","nodejs","nodejs-api","nodejs-api-auth","nodejs-api-boilerplate","nodejs-api-scalability","nodejs-authentication","nodejs-backend","nodejs-boilerplate","nodejs-cluster","nodejs-framework","nodejs-mongodb","nodejs-redis","nodejs-server","nodejs-server-api"],"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/bytesleo.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-06-14T16:56:41.000Z","updated_at":"2024-11-25T02:28:32.000Z","dependencies_parsed_at":"2024-04-23T01:33:53.395Z","dependency_job_id":"28523510-e4f3-490d-a4d4-e1af0e0a5cff","html_url":"https://github.com/bytesleo/nodetomic-api","commit_stats":{"total_commits":243,"total_committers":1,"mean_commits":243.0,"dds":0.0,"last_synced_commit":"9289d3203544a5c46dba634b8aff959c13bfe0dc"},"previous_names":["bytesleo/nodetomic-api"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytesleo%2Fnodetomic-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytesleo%2Fnodetomic-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytesleo%2Fnodetomic-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytesleo%2Fnodetomic-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytesleo","download_url":"https://codeload.github.com/bytesleo/nodetomic-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500469,"owners_count":20948880,"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","es6","expressjs","javascript","mongodb","node-api","nodejs","nodejs-api","nodejs-api-auth","nodejs-api-boilerplate","nodejs-api-scalability","nodejs-authentication","nodejs-backend","nodejs-boilerplate","nodejs-cluster","nodejs-framework","nodejs-mongodb","nodejs-redis","nodejs-server","nodejs-server-api"],"created_at":"2024-10-03T11:28:58.522Z","updated_at":"2025-04-06T15:13:38.251Z","avatar_url":"https://github.com/bytesleo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## ===\u003e NEWS! 🔥🔥 NEW FASTER AND MORE SCALABLE VERSION \u003ca href=\"https://github.com/kevoj/nodetomic\" \u003eHERE!\u003c/a\u003e\n\u003chr/\u003e\n\n\n# \u003cimg src=\"http://i.imgur.com/usoSYjY.png\" width=\"50\" /\u003e Nodetomic Api\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/f5084c4bad544b2586e3e973c8e3a336)](https://www.codacy.com/app/kevoj/nodetomic-api?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=kevoj/nodetomic-api\u0026amp;utm_campaign=Badge_Grade) [![NPM version](https://badge.fury.io/js/nodetomic-api.svg)](https://npmjs.org/package/nodetomic-api) [![Build Status](https://travis-ci.org/kevoj/nodetomic-api.svg?branch=master)](https://travis-ci.org/kevoj/nodetomic-api) [![dependencies Status](https://david-dm.org/kevoj/nodetomic-api/status.svg)](https://david-dm.org/kevoj/nodetomic-api) [![devDependencies Status](https://david-dm.org/kevoj/nodetomic-api/dev-status.svg)](https://david-dm.org/kevoj/nodetomic-api?type=dev) [![Gitter chat](https://img.shields.io/gitter/room/kevoj/scaling-fullstack.svg)](https://gitter.im/scaling-fullstack/Lobby) [![GitHub license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://raw.githubusercontent.com/kevoj/nodetomic-api/master/LICENSE) [![Downloads](https://img.shields.io/npm/dt/nodetomic-api.svg?style=flat-square)](https://npmjs.org/package/nodetomic-api)\n\n\u003e RESTful API Nodejs designed for horizontal scalability with support for cluster, based on Express, MongoDB, Redis, JWT, Socket.io, Passport.\n\nIf you want, the **swagger** version is also available: \u003ca href=\"https://github.com/kevoj/nodetomic-api-swagger\" \u003enodetomic-api-swagger\u003c/a\u003e\n\n\u003ca href=\"https://www.codacy.com/app/kevoj/nodetomic-api?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=kevoj/nodetomic-api\u0026utm_campaign=Badge_Grade\" \u003e\u003cimg src=\"https://i.imgur.com/0ag9bJ6.png\"\u003e\u003c/a\u003e\n\n### Technologies\n\n\u003ca\u003e\u003cimg src=\"http://oraclelinuxworld.com/wp-content/uploads/2016/01/NodeJS-Small-Blog-Feature-Image-.jpg\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/7658037?v=3\u0026s=400\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://chris.lu/upload/images/redis.png\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"http://nightdeveloper.net/wp-content/uploads/2014/12/mongo_db.png\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"http://code.runnable.com/images/provider-icons/icon-express-alt.svg\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://www.pubnub.com/wp-content/uploads/2014/07/SOCKETIOICON.gif\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://pbs.twimg.com/profile_images/542039812916510720/Vw-JEJQA.png\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://cms-assets.tutsplus.com/uploads/users/16/posts/24511/preview_image/babel-1.png\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"http://www.themightycribb.com/wp-content/uploads/2016/08/gulpjs-logo.jpg\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/8770005?v=3\u0026s=400\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"http://bluebirdjs.com/img/logo.png\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://nodemon.io/nodemon.svg\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://pbs.twimg.com/profile_images/599259952574693376/DMrPoJtc.png\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"http://www.erikasland.com/static/images/mongoose.png\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://nr-platform.s3.amazonaws.com/uploads/platform/published_extension/branding_icon/300/PKpktytKH9.png\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://awesomes.oss-cn-beijing.aliyuncs.com/repo/151017151426-82-1.jpg?x-oss-process=style/repo\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://seeklogo.com/images/E/eslint-logo-DDFB6EBCF6-seeklogo.com.png\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/2824157?v=3\u0026s=400\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://i2.wp.com/community.nodemailer.com/wp-content/uploads/2015/10/n2-2.png?fit=422%2C360\u0026ssl=1\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://cdn.xebialabs.com/assets/files/plugins/travis-ci.jpg\" width=\"50\"\u003e\u003c/a\u003e\n\n### Horizontal scalability\n\nView horizontal scaling representation image with nodetomic-api \u003ca href=\"https://github.com/kevoj/nodetomic-api/wiki/1.-Horizontal-scalability\"\u003eHERE!\u003c/a\u003e\n\n\n### Structure\n\n\u003cpre\u003e \n/src/\n|-- api\n|   |-- controllers\n|   |-- models\n|   |-- sockets\n|   `-- routers\n|-- assets\n|-- auth\n|   |-- controllers\n|   |-- passports\n|   |-- services\n|   `-- routers\n|-- config\n|-- lib\n|   |-- express\n|   |-- mongoose\n|   |-- redis-jwt\n|   `-- socket.io\n|-- views\n`-- app.js\n\u003c/pre\u003e \n\n## Preview\n\n##### Development\n![Imgur](https://i.imgur.com/brGk8Qt.png)\n\n##### Production\n![Imgur](https://i.imgur.com/2KLfEUq.png)\n\n## Requirements\n\n- [Nodejs](https://nodejs.org) \u003e= **6.x.x** (Recommended **9.x.x**)\n- [MongoDB](https://www.mongodb.com)  \u003e= **3.x.x**\n- [Redis](https://redis.io)  \u003e= **3.x.x** (Recommended **4.x.x**)\n\n## Installation\n\n**Npm**\n\n```bash\ngit clone https://github.com/kevoj/nodetomic-api\ncd nodetomic-api\nnpm i\n```\n\n**Yarn**\n\n```bash\nyarn add nodetomic-api --ignore-engines\n```\n\n## Development\n\n### Start\n\n**Command:** `npm start` \n\n**Description:** Start the project in development mode\n\n![Imgur](https://i.imgur.com/dV6o7p9.png)\n\n**Note:** if you want work with **nodemon** execute the command `npm run modemon`\n\n### Build\n\n**Command:** `npm run build`\n\n**Description:** Compile the project by outputting the dist folder\n\n![Imgur](http://i.imgur.com/NoXdDO4.png)\n\n**Note:** Generate folder **`dist`**. So \"dist/client\" is optional. You can paste the compilation of a client here, for example of Vue, React, Angular...\n\n![Imgur](https://i.imgur.com/bVFqr1f.png)\n\n### Test\n\n**Command:** `npm test`\n\n**Description:** Run Lint and run Build in production mode and execute the authentication methods and basic requests.\n\n![Imgur](http://i.imgur.com/ouKpQg1.png)\n\n### Lint\n\n**Command:** `npm run lint`\n\n**Description:** Run ESLint to verify the entire project code\n\n\u003cbr\u003e\n\n## Pm2 [Development]\n\n### Dev-Simple\n\n**Command:** `npm run dev-simple`\n\n**Description:** Run Pm2 and compile the project in development mode in a single instance\n\n![Imgur](http://i.imgur.com/cNuBVzK.png)\n\n### Dev-Cluster\n\n**Command:** `npm run dev-cluster`\n\n**Description:** Run Pm2 and compile the project in development mode in multiple instances\n\n![Imgur](http://i.imgur.com/wEU2Uz5.png)\n\n## Pm2 [Production]\n\n### Simple\n\n**Command:** `npm run simple`\n\n**Description:** Run Pm2 and compile the project in production mode in a single instance\n\n![Imgur](http://i.imgur.com/tLA2hu7.png)\n\n### Cluster\n\n**Command:** `npm run cluster`\n\n**Description:** Run Pm2 and compile the project in production mode in multiple instances\n\n![Imgur](http://i.imgur.com/HTWJcUk.png)\n\n## Stop\n\n### Pm2\n\n**Command:** `npm stop`\n\n**Description:** Stops all processes associated with project pm2\n\n### Node\n\n**Command:** `killall node`\n\n**Description:** Destroyed all process for node\n\n## API Docs\n\nYou can find the documentation \u003ca href=\"https://github.com/kevoj/nodetomic-api/wiki\" \u003eHERE!\u003c/a\u003e\n\n## License\n\nMIT © [Leonardo Rico](https://github.com/kevoj/nodetomic-api/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytesleo%2Fnodetomic-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytesleo%2Fnodetomic-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytesleo%2Fnodetomic-api/lists"}