This is a fully functional blog that was built using the MERN stack.
The useReducer React Hook is used for state management.
Create, Read, Update, Delete blog articles, upload a blog image and search for articles based on the article tags.
Using npm:
git clone https://github.com/dlamb22/mernblog.git
cd mernblog/server
npm install
cd ../client
npm install
Once it has finished installing all of the packages you need to create a .env file inside of the server/config directory:
.env
NODE_ENV=development
PORT=5000
MONGO_DB=mongoDB_connection_string
Now, run this command in the server directory:
npm run dev