New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nodetomic-api-swagger

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodetomic-api-swagger

Simple and fast Restful API designed for horizontal scalability including cluster, based on Swagger, Nodejs, Redis + Passport, MongoDB, Express

  • 2.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

Nodetomic-api-swagger NPM version Build Status dependencies Status devDependencies Status Gitter chat GitHub license Downloads

Simple and fast Restful API designed for horizontal scalability including cluster, based on Swagger, Nodejs, Redis + Passport, MongoDB, Express

Examples

http://localhost:8000

http://localhost:8000/api-docs/

Example horizontal scalability
Technologies

Requirements

  • Nodejs >= 6.x.x (Recommended 8.x.x)
  • MongoDB >= 3.x.x
  • Redis >= 3.x.x

Installation

git clone https://github.com/kevoj/nodetomic-api-swagger
cd nodetomic-api-swagger
npm i

Development

Start

npm start

Build

npm run build

  • Generate output folder: dist

    • dist
      • api-docs
      • client
      • server
      • cluster.config.js (pm2) (pm2 start cluster.config.js)
      • simple.config.js (pm2) (pm2 start simple.config.js)
      • package.json (npm start)

Test

npm test

You must be aware of running npm start

Lint

npm lint

Preview compiled in mode simple (pm2)

npm run pm2-dev-simple

Preview compiled in mode cluster (pm2)

npm run pm2-dev-cluster

Production

Run mode Default (node)

npm run serve

Run mode simple (pm2)

npm run pm2-simple

Run mode cluster (pm2)

npm run pm2-cluster

License

MIT © Leonardo Rico

Keywords

FAQs

Package last updated on 24 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc