NodeJS

NodeJS
NodeJS

Version latest

OS Ubuntu 24.04

Frameworks
New! DigitalOcean Managed MongoDB with NodeJS 1-Click App
A fully managed database as a service for modern apps. We'll setup the connection between your NodeJS 1-Click App and the managed database.

Description

Software Included

Package
Node.js
Version
Package
NPM
Version
Package
NGINX
Version
License
Package
PM2
Version

Getting started after deploying NodeJS

API Creation

In addition to creating a Droplet from the NodeJS 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB NodeJSDroplet 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":"nodejs-20-04"}' \
      "https://api.digitalocean.com/v2/droplets"