Report this

What is the reason for this report?

What is the difference between using just NodeJS vs using the MEAN stack ?

Posted on July 16, 2016

I know you can use NodeJS to fetch different HTML pages depending on the URL. The only difference I can think about is that when using MEAN you can use a database, but with just NodeJS you ‘can’t’, are there more differences?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

MEAN comes with MongoDB, Express, AngularJS and NodeJS and it is a easier way to install theses applications. If your application doesn’t require MongoDB, Express and AngularJS, I will recommend installing NodeJS and other required applications manually.

The MEAN stack, just like LAMP (Linux, Apache, MySQL, and PHP), is simply a stack of different programs: MongoDB, Express, AngularJS, and Node.js. It’s more of a guideline—you can definitely use a different database system such as Postgresql, a different webserver in place of Express such as hapi.js, or a different front-end framework such as Ember.js.

The MEAN one-click is basically an Ubuntu Droplet with MongoDB and Node.js preinstalled and a sample MEAN project placed in /opt/mean, which means that you can manually install these components on a fresh Ubuntu Droplet yourself and get the exact same result.

The one-click is intended to be an image that people can use as a quick start for MEAN projects on which they can build on top.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.