This project is a blog posting platform built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It allows users to create, edit, and manage blog posts with a clean and responsive UI.
- /backend Contains the backend server code (Node.js, Express)
- /frontend Contains the frontend client code (React.js)
- User authentication and authorization
- CRUD operations for blog posts
Follow these instructions to get the project up and running locally:
- Node.js (>= v14)
- MongoDB Compass
-
Clone the repository:
git clone https://github.com/anish2210/iBlog.git cd iBlog
-
Install dependencies:
cd backend npm install cd ../frontend npm install
-
Set up environment variables for backend (like database URI.)
-
Run the project:
# Run backend cd backend node index.js # Run frontend cd frontend npm run dev
-
Visit
http://localhost:3000
in your browser to view the app.
We welcome contributions for Hacktoberfest and beyond! Please check out our Contributing Guidelines before making a contribution.