{"id":17109038,"url":"https://github.com/bytesleo/nodetomic-api-swagger","last_synced_at":"2026-04-01T18:39:46.381Z","repository":{"id":86719524,"uuid":"96956099","full_name":"bytesleo/nodetomic-api-swagger","owner":"bytesleo","description":"RESTful API Nodejs designed for horizontal scalability with support for cluster, based on Swagger, Redis, JWT, Passport, Socket.io, Express, MongoDB.","archived":false,"fork":false,"pushed_at":"2021-08-12T23:26:59.000Z","size":9021,"stargazers_count":57,"open_issues_count":1,"forks_count":21,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-09T18:11:34.650Z","etag":null,"topics":["api","auth","auth-swagger","authentication","cluster","mongodb","node-api","node-restful","passport","redis","rest-api","scaling","socket-cluster","socket-io","swagger","swagger-api","swagger-socket"],"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}},"created_at":"2017-07-12T02:20:37.000Z","updated_at":"2024-05-09T04:59:39.000Z","dependencies_parsed_at":"2023-05-22T23:30:24.729Z","dependency_job_id":null,"html_url":"https://github.com/bytesleo/nodetomic-api-swagger","commit_stats":{"total_commits":883,"total_committers":1,"mean_commits":883.0,"dds":0.0,"last_synced_commit":"8465c925b359b7675edd69524e33e5f334ecf91f"},"previous_names":["bytesleo/nodetomic-api-swagger"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/bytesleo/nodetomic-api-swagger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytesleo%2Fnodetomic-api-swagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytesleo%2Fnodetomic-api-swagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytesleo%2Fnodetomic-api-swagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytesleo%2Fnodetomic-api-swagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytesleo","download_url":"https://codeload.github.com/bytesleo/nodetomic-api-swagger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytesleo%2Fnodetomic-api-swagger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290937,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: 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":["api","auth","auth-swagger","authentication","cluster","mongodb","node-api","node-restful","passport","redis","rest-api","scaling","socket-cluster","socket-io","swagger","swagger-api","swagger-socket"],"created_at":"2024-10-14T16:20:33.396Z","updated_at":"2026-04-01T18:39:46.362Z","avatar_url":"https://github.com/bytesleo.png","language":"JavaScript","readme":"\n# 👉👉👉 NEW REPOSITORY ---\u003e \u003ca href=\"https://github.com/kevoj/nodetomic\" \u003eHERE!\u003c/a\u003e 👈👈👈\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\n# \u003cimg src=\"http://i.imgur.com/BpUrg3a.png\" width=\"50\" /\u003e Nodetomic Api Swagger \n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/f5084c4bad544b2586e3e973c8e3a336)](https://www.codacy.com/app/kevoj/nodetomic-api-swagger?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=kevoj/nodetomic-api-swagger\u0026amp;utm_campaign=Badge_Grade) [![NPM version](https://badge.fury.io/js/nodetomic-api-swagger.svg)](https://npmjs.org/package/nodetomic-api-swagger) [![Build Status](https://travis-ci.org/kevoj/nodetomic-api-swagger.svg?branch=master)](https://travis-ci.org/kevoj/nodetomic-api-swagger) [![dependencies Status](https://david-dm.org/kevoj/nodetomic-api-swagger/status.svg)](https://david-dm.org/kevoj/nodetomic-api-swagger) [![devDependencies Status](https://david-dm.org/kevoj/nodetomic-api-swagger/dev-status.svg)](https://david-dm.org/kevoj/nodetomic-api-swagger?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-swagger/master/LICENSE) [![Downloads](https://img.shields.io/npm/dt/nodetomic-api-swagger.svg?style=flat-square)](https://npmjs.org/package/nodetomic-api-swagger)\n\n\u003e RESTful API Nodejs designed for horizontal scalability with support for cluster, based on Swagger, Redis, JWT, Passport, Socket.io, Express, MongoDB.\n\n\u003ca href=\"https://www.codacy.com/app/kevoj/nodetomic-api-swagger?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=kevoj/nodetomic-api-swagger\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://mean.io/wp-content/themes/twentysixteen-child/images/express.png\" 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://travis-ci.org/images/logos/TravisCI-Mascot-1.png\" width=\"50\"\u003e\u003c/a\u003e\n\n### Preview\n\n**url:** \u003chttp://localhost:8000/socket\u003e\n\n[![](https://j.gifs.com/0gw5gX.gif)](https://www.youtube.com/watch?v=drhEQl-4x0w)\n\n### Swagger Api\n\n**url:** \u003chttp://localhost:8000/docs\u003e \n\n**OpenAPI Spec compatibility:** 2.0, 3.0\n\n\u003cimg src=\"https://i.imgur.com/lnOKBF4.png\"\u003e\n\n### Horizontal scalability\n\nView horizontal scaling representation image with nodetomic-api-swagger \u003ca href=\"https://github.com/kevoj/nodetomic-api-swagger/wiki/1.-Horizontal-scalability\"\u003eHERE!\u003c/a\u003e\n\n### Structure\n\n\u003cpre\u003e \n/src/\n|-- api\n|   |-- swagger\n|   |-- controllers\n|   |-- models\n|   `-- sockets\n|-- assets\n|-- auth\n|   |-- swagger\n|   |-- controllers\n|   |-- passports\n|   `-- services\n|-- config\n|-- lib\n|   |-- express\n|   |-- mongoose\n|   |-- redis-jwt\n|   |-- socket.io\n|   `-- swagger\n|-- views\n`-- app.js\n\u003c/pre\u003e \n\n## Requirements\n\n- [Nodejs](https://nodejs.org) \u003e= **6.x.x** (Recommended last version)\n- [MongoDB](https://www.mongodb.com)  \u003e= **3.x.x**\n- [Redis](https://redis.io)  \u003e= **3.x.x** (Recommended last version)\n\n## Installation\n\n**Npm**\n\n```bash\ngit clone https://github.com/kevoj/nodetomic-api-swagger\ncd nodetomic-api-swagger\nnpm i\n```\n\n**Yarn**\n\n```bash\nyarn add nodetomic-api-swagger --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/qY1mzDZ.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/yTI3otr.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-swagger/wiki\" \u003eHERE!\u003c/a\u003e\n\n## License\n\nMIT © [Leonardo Rico](https://github.com/kevoj/nodetomic-api-swagger/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytesleo%2Fnodetomic-api-swagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytesleo%2Fnodetomic-api-swagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytesleo%2Fnodetomic-api-swagger/lists"}