PM2
dotenv-flow
Our great sponsors
PM2 | dotenv-flow | |
---|---|---|
58 | 1 | |
40,661 | 847 | |
- | - | |
6.8 | 7.9 | |
12 days ago | 2 months ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PM2
-
Deploy Node.js applications on a VPS using Coolify
Run the application using PM2 (ref: Process manager for Node.js)
- PM2: Production Process Manager with a Built-In Load Balancer
-
AI for Web Devs: Deploying Your AI App to Production
There are plenty of ways to accomplish this: Docker, Kubernetes, Pulumis, etc., but I don’t like to add too much complexity. So for a basic app, I like to use PM2, a Node.js process manager with great features, including the ability to run our app in the background.
- PM2 Cheatsheet
- Is PM2 safe to install on my Mint?
-
How to get the count of your followers on dev.to
This project will consist of a single "index.js" file that you can deploy anywhere. I recommend using an Nginx reverse proxy and pm2 to keep the service running.
-
A Guide To Self-Hosting Web Apps On Ubuntu Servers
Your app should be running now. To be able to run the app in the background, I will use pm2. Stop your application using "Ctrl + C" and install pm2
- How to run Ec2-instance constantly?
-
I need help
https://www.npmjs.com/package/pm2 I found this package. It looks good and solves my problem, I think.
-
What happens if a node/express server gets an error/crashes in production?
Usually, you have something that restarts it for you. This is what a "process manager" is for, e.g. https://www.npmjs.com/package/pm2 But in most more advanced systems, this is taken care of for you differently. E.g. lambdas are restarted automatically based on how many instances are needed. If you are in container-land, there's usually a health check endpoint on your server that gets pinged by the container orchestrator, and if there's no response, it will kill and redeploy the container.
dotenv-flow
-
How best to store credentials that maybe different on different stages
https://github.com/kerimdzhanov/dotenv-flow favorite one
What are some alternatives?
Nodemon.io - Monitor for any changes in your node.js application and automatically restart the server - perfect for development
node-convict - Featureful configuration management library for Node.js
supervisor
react-native-localhost - ⚛️ 🏡 Returns the local address of your actual development machine.
forever - A simple CLI tool for ensuring that a given script runs continuously (i.e. forever)
env-dot-prop - ♻️ Get, set, or delete nested properties of process.env using a dot path
Phusion Passenger - A fast and robust web server and application server for Ruby, Python and Node.js
ontime - Free, open-source time keeping for live events
supervisor - Supervisor process control system for Unix (supervisord)
hotel - 🏩 A simple process manager for developers. Start apps from your browser and access them using local domains
naught - Zero downtime deployment for your Node.js server using builtin cluster API
tuyapi - 🌧 An easy-to-use API for devices that use Tuya's cloud services. Documentation: https://codetheweb.github.io/tuyapi.