- M = MongoDB
- E = Express.js
- R = React.js
- N = Node.js
Click "Use this template" to generate a
new repository.
Then open your terminal and clone your repository:
cd ~/Desktop
git clone https://github.com/[your-user-name]/[your-repo-name].git
Go to your repository's folder, and install all dependecies:
cd ~/Desktop/[your-repo-name]
npm install
Prepare your MongoDB database (atlas,
community).
Then go to your server folder (backend), and set your database within server.js
,
axios: ^0.21.1 ---> Use the API
react: ^17.0.1 ---> UI framework
react-dom: ^17.0.1 ---> UI framework
react-scripts: 4.0.3 ---> React 'npm' scripts
cors: ^2.8.5 ---> Enable HTTP requests
dotenv: ^8.2.0 ---> Secure sensitive information
express: ^4.17.1 ---> Server app
mongoose: ^5.12.0 ---> MongoDB database
morgan: ^1.10.0 ---> Logs incoming requests