Skip to content

Instantly share code, notes, and snippets.

View mustakim's full-sized avatar
🏠
Working from home

Shah Abdul Mustakim mustakim

🏠
Working from home
View GitHub Profile
@sjosephrw
sjosephrw / mern_nginx_ssl_digitalocean.md
Last active June 7, 2024 04:29
Deploy Multiple MERN apps to a single digital ocean ubuntu droplet with nginx and SSL

Deploy Multiple MERN apps to digital ocean

This tutorial will guide you through the process of deploying multiple MERN apps to a single digital ocean ubuntu VPS droplet Reference

1. Sign up for Digital Ocean

DigitalOcean

2. Create a droplet and Login via SSH

YouTube

@zmts
zmts / MANUAL.md
Created July 18, 2020 14:08 — forked from s-lyn/MANUAL.md
Deploy nodejs app with gitlab.com and pm2

Deploy nodejs app with gitlab.com and pm2

This manual is about setting up an automatic deploy workflow using nodejs, PM2, nginx and GitLab CI. It is tested on:

  • Target server: Ubuntu 16.04 x64. This is suitable for Ubuntu 14.x.
  • Windows 10 on my PC to work.
First request to server
Request URL: http://localhost:3000/connect/facebook
Request Method: GET
Status Code: 302
///
Automatically Second request
Request URL: https://www.facebook.com/dialog/oauth?client_id=497247197687117&
redirect_uri=http://localhost:3000/connect/facebook&response_type=code&state=uSQ5kW
Request Method: GET