How to create your first MERN (MongoDB, Express JS, React JS and Node JS) Stack

Sam Barros
The Startup
Published in
11 min readJun 2, 2019

--

Hi guys,

Do you know how to create a MERN Stack? Do you know what a MERN Stack is? Do you know when you will need a MERN Stack?

In this tutorial, I’m going to teach you how to create a simple MERN Stack Application.

First of all, a MERN Stack is a combination of four technologies: Mongo DB, Express JS, React JS, and Node JS.

OK Sam, I’d like to learn how to create my first MERN, but… what does it means?

Don’t worry, I can explain. You’re facing one of the most relevant Stacks of the world growing fast every day, acquiring many developers around the globe in a huge community. The main thing you should know is that, with MERN Stack, you’ll work with Javascript. Told this, let me explain what means each letter of this acronym.

  • Mongo DB: A document-based open-source database, that provides you scalability and flexibility.
  • Express JS: A structured base designed to develop web applications and APIs.
  • React JS: A Javascript Front-end library for building user interfaces. Maintained by Facebook.
  • Node JS: A javascript runtime built on Chrome’s V8 JS engine.

--

--

Sam Barros
The Startup

A Software Engineer who has decided to share his experience.