MERN Stack Powered by GlobalSolutions
MERN
Powered by GS


We have installed the MERN stack which makes it easier for our customers to focus on building modern Web Applications rather than spending time in building the stack. MERN stack consists of four components to build an end-to-end web application, namely, MongoDB, Expressjs, Reactjs, and Nodejs. The application involves a backend server using Node.js and Express.js, connected to a MongoDB database, and a frontend application built with React.js. MERN is one of the most popular full-stack Javascript stacks that can be used to build scalable, production-ready web applications.
 
We have made sure the image is hardened so it is secured from all existing vulnerabilities.

Why Subscribe to our offering in AWS Marketplace
How to Access our AMIs from AWS Marketplace
For more information please refer to this URL - http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/connecting_to_windows_instance.html
Installation Locations
Category Packages Version Used Location
MongoDB Database 7.0.9 C:\Program Files\MongoDB
Nodejs 20.13.1 C:\Program Files\nodejs

Getting Started -

The MERN offering of GlobalSolutions comes prepackaged with all the dependent components for MERN. All the user has to do is subscribe to our AMI to start using it.

Sample MERN application

To make this process simple we have deployed a simple MERN stack application. The application is in C:\GS

Sample Application: To access the sample application one has to start both the backend and the frontend servers by following the below two steps.

One has to first start the backend server and then the frontend server. After starting the backend server wait for a few seconds or until the command window closes.

1. To Start the backend server: We have programmed it to start the backend server automatically whenever the instance starts or reboots. If it fails to start click on the Back_End _Server

    desktop icon to start the backend server. Otherwise, you can also start by giving the command node server.js from the command prompt C:\GS\mern-backend>node server.js 
 

 2. To Start the frontend server: One has to start the frontend server manually, and click on the Front_End_Server desktop icon to start the frontend server. Otherwise, you can also start

     by giving the command npm start from the command prompt C:\GS\mern-frontend>npm start 

     After starting the backend server and frontend server, now on the browser type http://localhost:3000/  You will see the sample application. Add the sample data.

     The next step is to verify the data you have added has been stored in MongoDB. Open the MongoDB Compass icon on the desktop and click on localhost:27017

      Navigate to Databases -> mern_example and click on data, there you can see the data you have added.

Support

Please contact us at support@theglobalsolutions.net for any questions on this offering in AWS Marketplace.

Connect with us
  
copyright - © 2016,The Globalsolutions LLC. or its affiliates. All rights reserved.

>