restfuncs
PM2
restfuncs | PM2 | |
---|---|---|
10 | 60 | |
32 | 40,761 | |
- | - | |
9.7 | 6.4 | |
13 days ago | 9 days ago | |
TypeScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
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.
restfuncs
-
[AskJS] What do you use to make small back-ends ?
Putting restfuncs into the round (as the communication lib).
-
Restfuncs 2.0 release (an RPC + REST server + Client) - how do you like the new API ?
Hi, finally, after a complete redesign of the API, i'm releasing the new 2.0 Version of Restfuncs. Much effort went into the CSRF protection, which i'm kind of proud now, to be one lib that does take much care about this. Still it's a little work-in-progress, as you see, but if you like, you can already start using it and wait, til it's production ready (+ help the typescript-rtti guys to get that lib stable ;) ). The Restfuncs API should be stable and stay on 2.x major version for a while.
-
I've made playground demo of typia - 20,000x faster validator
OK, that's cool. Looking for something for the restfuncs lib. Currently i'm using typescript-rtti but i'm open to such stuff if the security is good. And fast validation sounds very very good ;)
-
How to make a NodeJS REST API most efficiently?
Here's one library that i'm making for that. Currently it's focused to make functions callable via RPC. But i'm working on a comprehensive REST interface currently. It's already in the docs on the github repo. Hope that is kind of what you are looking for.
-
Serving react statically with express
See this example and use the dev_faster... run script. It uses a dev/production switch to see if it should run the devserver or host the pre-build static files as you see when you look at server.ts
-
Is my concept right or convince me, why CSRF tokens are really needed.
Yes, behaviour will also be documented in the library's doc under security (not yet done, cause i'm the middle of writing) The library is all about that, so no maintainer will quickly change those core security lines without having understood them. Additionally i've written cross site security testcases which test every line of these ;)
-
TypeScript rant
Here's a simple sample project which host the vite devserver inside express for development (so you don't have a chaos with different processes / ports / origins). This should be the way to go.
-
Nodejs setup with typescript
Or, for a quick client-server app, use this
-
What’s the hype with Vite?
See this example starter application stack, with client/server communication, cramped down to a ridiculously few lines of code / files - you can't underbeat that.
PM2
-
Understanding Nginx: From Simple Concepts to Technical Details and Deploying securely with PM2 and Certbot
More pm2 commands here
-
Node.js PM2 Explained
Start by registering the app using the official guide.
-
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?
What are some alternatives?
vite-plugin-checker - 💬 Vite plugin that provide checks of TypeScript, ESLint, vue-tsc, Stylelint and more.
Nodemon.io - Monitor for any changes in your node.js application and automatically restart the server - perfect for development
nodejs-setup - Quick node.js 2023 boilerplate setup
supervisor
karma-typescript - Simplifying running unit tests with coverage for Typescript projects.
forever - A simple CLI tool for ensuring that a given script runs continuously (i.e. forever)
vitest - Next generation testing framework powered by Vite.
Phusion Passenger - A fast and robust web server and application server for Ruby, Python and Node.js
NodeFuel - NodeFuel is a TypeScript-first boilerplate for building high-quality Node.js apps with multi-authentication using Passport. Get started today and fuel up your Node.js development!
supervisor - Supervisor process control system for Unix (supervisord)
typia - Super-fast/easy runtime validations and serializations through transformation
naught - Zero downtime deployment for your Node.js server using builtin cluster API