Generate SSH key

ssh-keygen -t rsa -b 4096 -C ""

public key is stored in ~/.ssh/
To access key: cat

Git Usage

To update: git pull

Listen on port 80 -- Use reverse proxy

in EC2:
sudo yum install nginx
start nginx: sudo systemctl start nginx
or Enable Nginx to start on boot: sudo systemctl enable nginx
Configure Nginx: sudo nano /etc/nginx/conf.d/your-app.conf
server { listen 80; server_name; location / { proxy_pass; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } }

MongooseDB locally

check this

To make a login page

npm install mongoose