A full-featured blog application built with Flask and MongoDB. This modern web application enables users to create, manage, and share blog posts with a clean, responsive interface.
- Backend: Flask (Python)
- Database: MongoDB
- Frontend: Tailwind CSS
- Authentication: Flask-Login
- Email: Flask-Mail
DEV_BLOG provides a robust platform for bloggers with features like user authentication, content management, and email notifications. Perfect for developers who want to share their technical insights and experiences.
- User Authentication (Register, Login, Logout)
- CRUD Operations for Blog Posts
- User Profile Management
- Password Reset via Email
- Post Categories and Tags
- Responsive Design with Tailwind CSS
- Clone and Setup:
git clone https://github.com/yourusername/DEV_BLOG.git
cd DEV_BLOG
python3 -m venv venv
source venv/bin/activate # For Mac
pip install -r requirements.txt
cp .env.example .env
- Configure Environment:
# .env file
SECRET_KEY=your_secret_key
MONGO_URI=mongodb+srv://username:password@cluster.mongodb.net/dbname
EMAIL_USER=your_email
EMAIL_PASS=your_email_password
- Run Development Server:
python run.py # Runs with debug mode
DEV_BLOG/
├── Dev_BLOG/
│ ├── __init__.py
│ ├── config.py
│ ├── models.py
│ ├── forms.py
│ ├── routes/
│ ├── static/
│ └── templates/
├── requirements.txt
└── run.py
- Watch Tailwind Changes:
npx tailwindcss -i ./static/src/input.css -o ./static/dist/output.css --watch
- Run Tests:
python -m pytest
- Fork repository
- Create feature branch
- Submit pull request
Detailed documentation about setup, configuration, and usage can be found in the project's source code comments and docstrings.