Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
[ | |
{ | |
"command": "projectManager.listGitProjects#sideBarGit", | |
"key": "cmd+o" | |
}, | |
{ | |
"command": "expand_region", | |
"key": "ctrl+=", | |
"when": "editorTextFocus" | |
}, |
import {initializeApp, applicationDefault } from 'firebase-admin/app'; | |
import { getMessaging } from "firebase-admin/messaging"; | |
import express, { json } from "express"; | |
import cors from "cors"; | |
process.env.GOOGLE_APPLICATION_CREDENTIALS; | |
const app = express(); | |
app.use(express.json()); |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
import { useCallback, useEffect, useState } from "react"; | |
interface BaseProps{ | |
path:string, | |
start:boolean | |
} | |
type GetProps = { | |
method:"GET"|"HEAD", | |
data?:never |
Do you want to start contributing to Open Souce Software and the Fastify project?
It would be best if you started asking yourself where to start: