Skip to main content

MERN on Ubuntu 24.04

MongoDB, Express.js, React, and Node.js pre-configured for modern web application development.

Raff Technologies avatar
Written by Raff Technologies
Updated this week

Version: Latest
​OS: Ubuntu 24.04 LTS
​Category: Web Application Stacks

Description

Complete MERN stack development environment ready in minutes. MongoDB, Express.js, React, and Node.js pre-configured for modern web application development.

Software Included

Component

Version

License

Node.js

22.15.0

MIT

MongoDB

8.0.9

SSPL

Express.js

Latest

MIT

React

Latest

MIT

npm

10.9.2

Artistic-2.0

PM2

6.0.5

AGPL-3.0

Key Benefits

  • Full Stack Ready - Complete development environment in one VM

  • Production Configured - PM2 process manager and MongoDB optimization included

  • Modern Toolchain - Latest versions of all MERN components

  • Instant Development - Start coding immediately, no setup required

Getting Started

When you create your VM, installation begins automatically and takes about 1-2 minutes.

  1. SSH into your server to start developing

  2. Create your React app: npx create-react-app my-app (creates /root/my-app)

  3. Set up your Express backend and connect to MongoDB

  4. MongoDB is ready at localhost:27017

What's Pre-Configured

  • MongoDB - Running and ready for connections

  • Node.js & npm - Version 22.15.0 with npm 10.9.2 ready

  • Development Tools - All MERN stack components installed

  • PM2 - Process manager ready for production deployments

Development Workflow

  1. Connect via SSH - Access your development environment

  2. Create Project - Run npx create-react-app my-app to start

  3. Edit Code - Modify files in your project directory

  4. Database Ready - MongoDB accessible at localhost:27017

Common Use Cases

  • Full-stack web application development

  • API development and testing

  • React frontend prototyping

  • MongoDB database learning and development

  • Production-ready web app deployment

Troubleshooting

Can't connect to MongoDB? Check service status with sudo systemctl status mongod

Need to start your app? Use pm2 start app.js for production deployment

Did this answer your question?