Make sure that you have the following installed:
cd client
npm install
npm start
cd ../backend
npm install
npm start
Actually, there are two separated apps. The Client which serves the FrontEnd (using React), and the Backend (in Node/Express).
Run the app using :
$ docker-compose up --build
To check the status :
docker-compose ps
MongoDB is a NoSQL (non-relational) document-oriented database. Data is stored in flexible documents with a JSON (JavaScript Object Notation)-based query language. MongoDB is known for being flexible and easy to scale.
$ docker-compose stop
Express is a web application framework for Node.js, another MERN component. Instead of writing full web server code by hand on Node.js directly, developers use Express to simplify the task of writing server code.
-
Node React was originally created by a software engineer at Facebook, and was later open-sourced. The React library can be used for creating views rendered in HTML. In a way, itβs the defining feature of the stack.