/host-on-server

Setup Ubunut 22.04 Server for hosing MERN Backends. This installs, npm | Node.js | Nginx | MongoDB

Primary LanguageShellMIT LicenseMIT

host-on-server

This is a simple solution for saving time while hosting the MERN app on AWS or any other ubuntu22.04 instance

Working

  • Update and upgrade apt
  • Install npm
  • Install and update node
  • Install pm2
  • Install pnpm
  • Install nginx
  • Install MongoDB
  • Install Redis
  • Yay your server is all set for further hosting configurations

Switches

  • -y : all yes

How to use it?

git clone https://github.com/remintroy/host-on-server.git
cd host-on-server
sudo ./setup_server.sh

Thats it! Good luck and stay creative