In the project directory, you can run:
This will install all the dependencies required for the application. Due to the projects nature, you'll have to run this command in each one of the three following folders separately:
- Firstly, in your
root
folder. - Secondly, in your
client
folder. - Lastly, in you
backend
folder.
(Run only if you haven't already and not being prompted the build folder) - Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready!
Note: this project was created to run both frontend and backend with concurrently
library, by using the stated command above
This will prompt your localhost with the whole application scope. Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
You can learn more about MongoDB MongoDB Basics.