Skip to content

A MERN-based microblogging platform with authentication, community feed, comments, and an analytics dashboard.

License

Notifications You must be signed in to change notification settings

NainaKothari-14/Micro-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro-Blog

MongoDB Express React Node.js

A simple MicroBlog platform built with the MERN stack for sharing posts and engaging with the community.


Features

  • User authentication (Register/Login)
  • Create and view posts
  • Comment on posts
  • Analytics dashboard
  • Responsive design

Tech Stack

  • Frontend: React + Tailwind CSS
  • Backend: Node.js + Express
  • Database: MongoDB
  • Auth: JWT

Screenshots

Homepage

Community Feed

Comments

Analytics Dashboard

Register Page

Login Page


Setup & Run

Prerequisites

  • Node.js installed
  • MongoDB Atlas account

Installation

1. Clone the repo

git clone <your-repo-link>
cd microblog-mern

2. Install dependencies

# Backend
cd microblog-backend
npm install

# Frontend
cd ../microblog-frontend
npm install

3. Environment variables

Create .env in microblog-backend/:

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key

4. Run the app

# Backend (terminal 1)
cd microblog-backend
npm run dev

# Frontend (terminal 2)
cd microblog-frontend
npm run dev

Notes

  • Configure MongoDB Atlas IP whitelist for your network
  • Keep .env file private

License

MIT License - Free to use for learning purposes.


If you found this project helpful, consider giving it a ⭐!

About

A MERN-based microblogging platform with authentication, community feed, comments, and an analytics dashboard.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages