A full-stack Personal Blog Platform that allows users to create, view, and manage blog posts. The platform leverages modern technologies like Vite, Node.js, MongoDB, and Google Gemini API to deliver an interactive and feature-rich blogging experience.
- 🏠 Homepage displaying all blog posts.
- ✍️ Blog Post Creation Form for creating new posts.
- 📱 Responsive Design for a seamless experience on all devices.
- 🧭 Navigation Menu for intuitive site navigation.
- Built with Vite, React, HTML5, CSS3, and JavaScript.
- 🔗 REST API:
GET /api/posts- Fetch all posts.POST /api/posts- Create a new post.GET /api/posts/{id}- Fetch a single post.
- 🛠️ Node.js backend with Express.js for API routes.
- 💾 MongoDB database for robust and scalable data storage.
- 🔒 Basic authentication implementation for secure access.
- ✨ Integrated with Google Gemini API to:
- Generate a blog summary based on the title entered.
- Auto-generate blog content based on the title and summary.
| Frontend | Backend | Database | LLM Integration |
|---|---|---|---|
| React (Vite) | Node.js | MongoDB | Google Gemini API |
Follow these steps to run the project locally:
git clone https://github.com/your-username/personal-blog-platform.git
cd personal-blog-platformFor the Frontend
cd frontend
npm installFor the Backend
Copy code
cd backend
npm installCreate a .env file in the backend directory and add the following:
MONGO_URI=your-mongodb-connection-string
GEMINI_API_KEY=your-gemini-api-key
JWT_SECRET=your-secret-key
Start the Backend
cd backend
npm startStart the Frontend
cd frontend
npm run devVisit http://localhost:5173 to access the platform.
🌟 Homepage
✍️ Blog Creation
🔗 Live Demo: (https://blogging-hub-dcb6.onrender.com/)
Feel free to fork this repository, submit issues, or make pull requests. Contributions are highly appreciated! 🎉
Adding user profiles.
Implementing tags and categories for posts.
Enhancing blog post search functionality.
💬 Feel free to reach out for collaboration or suggestions!

