Node.js Quickstart
Node.js Quickstart
by Shark Labs

VERSION 1.0

OS Ubuntu 18.04

Description

Everything you need to get started developing a Node.js application with sample code on a DigitalOcean Droplet

Software Included

PackageVersionLicense
Node.js8.10.0Custom
NPM8.5.2Artistic License 2.0
NGINX1.14.0Custom
PM24.2.1GNU Affero General Public License 3.0 (AGPL 3.0)

Getting started after deploying Node.js Quickstart

This 1-click application is ideal for learning and exploring development with Node.js on DigitalOcean but isn’t configured for production use.

To start this Quickstart, you need to create a new Droplet using this Marketplace listing and navigate to its public ipv4 address to follow the Getting Started instructions.

To make modifications to the sample application code, you will need to SSH to your new Droplet with root user (or with existing SSH keys) using the auto-generated password (sent via email).

API Creation

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

As an example, to create a 4GB Node.js Quickstart Droplet in the SFO2 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":"sfo2","size":"s-2vcpu-4gb","image":"sharklabs-nodejsquickstart-18-04"}' \
      "https://api.digitalocean.com/v2/droplets"
      

More DigitalOcean Links

Product Docs

Technical overviews, how-tos, release notes, and support material

Tutorials

DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn

arrow-down-longarrow-downIcon--arrowFilterDownIcon--arrowFilterUparrow-left-longarrow-right-longarrow-rightarrow-up-longarrow-upasterikcheckclosedownloademailerrorIcon--gearexpandfacebookIcon--geargithubgoogleinstagramlinkedinIcon--minusIcon--plusBanner-PolicyDroplet-Backup-SnapshotDropletFirewall-RuleFloating-IPLoad-BalancerSpaceproduct--tagVolume-SnapshotVolumeIcon--sammysearchshareshrinktwitterwarningIcon--waveyoutube