PENN (Postgres + Express + Next.js)

PENN (Postgres + Express + Next.js)
PENN (Postgres + Express + Next.js)
by Aumkar Thakur

Version 1

OS Ubuntu 24.04

Frameworks

Description

Software Included

Package
Postgres
Version
16.8
Package
Express.js
Version
4.21.2
Package
Version
15.2.4
Package
Nginx
Version
License
Package
NPM
Version
11.2.0
Package
Node.js
Version
v22.14.0
Package
PM2
Version
6.0.5

Getting started after deploying PENN (Postgres + Express + Next.js)

API Creation

In addition to creating a Droplet from the PENN (Postgres + Express + Next.js) 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB PENN (Postgres + Express + Next.js)Droplet in the NYC3 region, you can use the following curl command. You'll need to either save your API access token to an environment variable or substitute it into the command below.


  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"nyc3","size":"s-2vcpu-4gb","image":"aumkarthakur-pennpostgresexpr"}' \
      "https://api.digitalocean.com/v2/droplets"