Skip to main content

MERN stack

1. Initialise project

gws init project --name mern-stack-app

2. Clone the MERN stack bundle

The MERN stack bundle contains the following:

  • A frontend component using React
  • A backend component using Express.js
  • A Mongo database
gws bundle clone mern-stack

3. Start local cluster

gws cluster start

4. Get the status of the components

gws project status mern-stack-app

5. Check the logs

gws project logs mern-stack-app

5. Test the app

You can test in your browser the following links:

  • - React frontend