MERN

MERN
MERN

Version latest

OS Ubuntu 22.04

Frameworks

Description

Software Included

Package
NGINX
Version
1.18.0
License
Package
Certbot
Version
1.21.0
Package
npm
Version
9.5.0
Package
React
Version
^18.2.0
Package
Express.js
Version
~4.16.1
Package
MongoDB
Version
6.0.4
License
Package
pm2
Version
5.2.2

Getting started after deploying MERN

API Creation

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

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