Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
nodetomic-api
Advanced tools
RESTful API Nodejs designed for horizontal scalability with support for cluster, based on Express, MongoDB, Redis, JWT, Socket.io, Passport
RESTful API Nodejs designed for horizontal scalability with support for cluster, based on Express, MongoDB, Redis, JWT, Socket.io, Passport.
If you want, the swagger version is also available: nodetomic-api-swagger
View horizontal scaling representation image with nodetomic-api HERE!
/src/ |-- api | |-- controllers | |-- models | |-- sockets | `-- routers |-- assets |-- auth | |-- controllers | |-- passports | |-- services | `-- routers |-- config |-- lib | |-- express | |-- mongoose | |-- redis-jwt | `-- socket.io |-- views `-- app.js
Npm
git clone https://github.com/kevoj/nodetomic-api
cd nodetomic-api
npm i
Yarn
yarn add nodetomic-api --ignore-engines
Command: npm start
Description: Start the project in development mode
Note: if you want work with nodemon execute the command npm run modemon
Command: npm run build
Description: Compile the project by outputting the dist folder
Note: Generate folder dist
. So "dist/client" is optional. You can paste the compilation of a client here, for example of Vue, React, Angular...
Command: npm test
Description: Run Lint and run Build in production mode and execute the authentication methods and basic requests.
Command: npm run lint
Description: Run ESLint to verify the entire project code
Command: npm run dev-simple
Description: Run Pm2 and compile the project in development mode in a single instance
Command: npm run dev-cluster
Description: Run Pm2 and compile the project in development mode in multiple instances
Command: npm run simple
Description: Run Pm2 and compile the project in production mode in a single instance
Command: npm run cluster
Description: Run Pm2 and compile the project in production mode in multiple instances
Command: npm stop
Description: Stops all processes associated with project pm2
Command: killall node
Description: Destroyed all process for node
You can find the documentation HERE!
MIT © Leonardo Rico
FAQs
RESTful API Nodejs designed for horizontal scalability with support for cluster, based on Express, MongoDB, Redis, JWT, Socket.io, Passport
The npm package nodetomic-api receives a total of 9 weekly downloads. As such, nodetomic-api popularity was classified as not popular.
We found that nodetomic-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.