MERN-template
PM2
MERN-template | PM2 | |
---|---|---|
31 | 60 | |
65 | 40,733 | |
- | - | |
5.6 | 6.4 | |
4 days ago | 11 days ago | |
JavaScript | JavaScript | |
zlib 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.
MERN-template
-
So I spent 3.5 years making a game as a website...
Anyway, the structure of this website uses microservices, driven by an engine I dubbed the MERN-template. It has it's own auth service, and supports both chat and a news feed. The game-specific elements are closed-source though (the idea is you fork the core repo, and build out from there).
- login / registration form
-
Is the MERN stack still worth learning?
i use mariadb, but yes.
-
So I wrote an auth server - are people using it???
Backstory: Decade Jam, a game jam that lasts for a decade, began Jan 1st, 2020. I started writing a web game called Egg Trainer, but after a year of work realized that my codebase wasn't workable anymore. So at the beginning of 2021, I began working on a game engine that would power the beta version of ET - this is called the MERN-template (clearly, I'm bad at naming things).
-
MERN Stack, why?
My MERN-template actually uses MySQL. There's no requirement that you do it one specific way.
-
If you were tasked with creating a Reddit clone what would your stack be?
I'd use the MERN-template project that I wrote myself. It's essentially the mern stack, except with MySQL.
- BREAKING CHANGE: Now using cookies for authentication · krgamestudios/MERN-template
-
Monetising a Web Game
I've basically written this thing from the ground up, including an open source engine that uses microservices.
-
PSA: Your choice of Game Engine has little to no effect on whether your first game gets finished. And zero effect on whether you make a "good" game.
Anyway here's my game engine.
-
Why you should be obsessed with "dogfooding" your product
Oh, I've done this with my MERN-template. It was designed to power my game, but I made it available for others to use.
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?
Next.js - The React Framework
Nodemon.io - Monitor for any changes in your node.js application and automatically restart the server - perfect for development
Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.
supervisor
news-server - An API centric news server.
forever - A simple CLI tool for ensuring that a given script runs continuously (i.e. forever)
recog - Swiss school forum to connect business acquaintances across the country.
Phusion Passenger - A fast and robust web server and application server for Ruby, Python and Node.js
benchmarks - Fast and low overhead web framework fastify benchmarks.
supervisor - Supervisor process control system for Unix (supervisord)
Godot - Godot Engine – Multi-platform 2D and 3D game engine
naught - Zero downtime deployment for your Node.js server using builtin cluster API