DESCRIPTION : This is a simple MERN stack workshop about web blog. Other user can read blog only but admin can create, read, update and delete blog. This is a simple web application that I have learned from udemy course click here. You can clone it and learn it, enjoy with mern stack kub!.
- Frontend React Javascript with Bootstrap 5
- Backend Express Node.js
- Database MongoDB
npm install --global yarn
git clone https://github.com/Bourbxn/mern-web-blog.git
- Login to MongoDB Atlas
- Create schema and copy database url to connect in backend part
- Install package
cd server
npm i
- Create file
.env
inmern-web-blog/server/.env
and add
PORT=5500
DATABASE=<database-url>
JWT_SECRET=mern-stack-crud-secret@12345
PASSWORD=admin123
Install package
cd client
yarn
cd server
node server.js
cd client
yarn dev