Skip to content

Instantly share code, notes, and snippets.

@Iiquids
Iiquids / node_nginx_ssl.md
Last active November 14, 2023 02:56 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Liquids-2.0 to Linode using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Linode

https://www.linode.com

2. Create a Linode

Images = Ubuntu 22.04 LTS Region = Newark, NJ (us-east) 'Any Regoin Near You'

@Iiquids
Iiquids / index.pug
Created September 5, 2023 18:41
Vue playground #2 - Chatbox
meta(name="viewport" content="width=device-width, initial-scale=1.0")
#app.chatbox
.colorPanel(:style='{display: colorPanelShown ? "flex":"none",opacity: colorPanelShown ? "flex":"none"}')
.colorPanel__colorSlot(v-for='color in colors')
.colorPanel__color(:style='{background: color}',@click='setColor(color)')
.chatbox__header
.chatbox__headerText Robert Smith
.chatbox__onlineDot
.chatbox__button(v-on:click='colorPanelShown = !colorPanelShown')
.chatbox__messages