🌐 MERN Stack
MongoDB, Expressjs, React/Redux, Nodejs
MERN is a fullstack implementation in MongoDB, Expressjs, React/Redux, Nodejs.
MERN stack is the idea of using Javascript/Node for fullstack web development.
Clone or Download
$ git clone https://github.com/AbubakarZorrain/MERN-BoilerPlate.git
$ yarn i
$ yarn start
$ npm i
$ npm start
Packages Being Used
1) dotenv: "^16.0.3",
2) express: "^4.18.2",
3) mongoose: "^6.7.5",
4) nodemon: "^2.0.20",
5) cors: "^2.8.5",
Project Structure
./client
public
index.html
src
./components
topBar.jsx
users.jsx
app.css
App.js
index.css
index.js
reportWebVitals.js
setupTests.js
counterSlice.js
store.js
.gitignore
package.json
pacage-lock.json
README.md
./server
server.js
./controllerLayer
crud.controller.js
./serviceLayer
crud.service.js
./dataBaseLayer
user.model.js
package.json
pacage-lock.json
LICENSE
README.md
example.env
.gitignore
Environment Variable
ENV variables are defined in env.
example file in main directory.
Create .env file from env.example and update value of variables