Skip to content

Instantly share code, notes, and snippets.

View FaisalAli19's full-sized avatar
👨‍💻
Talk is cheap. Show me the code.

Faisal Ali Sayyed FaisalAli19

👨‍💻
Talk is cheap. Show me the code.
  • Idyllic Software PVT LTD
  • India
View GitHub Profile
@FaisalAli19
FaisalAli19 / node_nginx_ssl.md
Last active November 13, 2023 07:46 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@FaisalAli19
FaisalAli19 / BookBlocks_flat.sol
Created December 13, 2021 08:44
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=true&runs=200&gist=
// this line is added to create a gist. Empty file is not allowed.