{"id":26772838,"url":"https://github.com/goyam02/flask_blog","last_synced_at":"2026-04-10T07:53:29.766Z","repository":{"id":274274942,"uuid":"922424091","full_name":"Goyam02/Flask_Blog","owner":"Goyam02","description":"Flask_Blog is a web application built using Flask, a lightweight web framework in Python. It is designed for users to create, edit, and share blog posts seamlessly.","archived":false,"fork":false,"pushed_at":"2025-02-05T17:32:33.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T18:47:23.406Z","etag":null,"topics":["blog","bootstrap","css","database","flask","form","forms","html","javascript","post","python","sqlalchemy","sqlalchemy-python","templates","user-authentication","virtualenv"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Goyam02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-26T06:49:29.000Z","updated_at":"2025-02-05T17:32:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"77f40b7f-0982-4eba-a2a5-d785fe10dbde","html_url":"https://github.com/Goyam02/Flask_Blog","commit_stats":null,"previous_names":["goyam02/flask_blog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goyam02%2FFlask_Blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goyam02%2FFlask_Blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goyam02%2FFlask_Blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goyam02%2FFlask_Blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Goyam02","download_url":"https://codeload.github.com/Goyam02/Flask_Blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246125106,"owners_count":20727372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","bootstrap","css","database","flask","form","forms","html","javascript","post","python","sqlalchemy","sqlalchemy-python","templates","user-authentication","virtualenv"],"created_at":"2025-03-29T01:29:14.332Z","updated_at":"2026-04-10T07:53:29.716Z","avatar_url":"https://github.com/Goyam02.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 Flask Blog\n\n A full-featured blogging application built with Flask, featuring user authentication, password reset, profile management, pagination, and CRUD functionality for blog posts.\n\n ![Home Page](screenshots/home.png) \n \u003chr\u003e\n\n # 🚀 Features\n\n✅ User Authentication (Register, Login, Logout)\u003cbr\u003e\n✅ Profile Management (Update profile picture \u0026 username)\u003cbr\u003e\n✅ Password Reset via Email\u003cbr\u003e\n✅ CRUD for Blog Posts (Create, Read, Update, Delete)\u003cbr\u003e\n✅ Pagination for Posts\u003cbr\u003e\n✅ User-Specific Post Feed\u003cbr\u003e\n✅ Secure Password Hashing with Bcrypt\u003cbr\u003e\n✅ Flask-Mail for Email Notifications\u003cbr\u003e\n\n\u003chr\u003e\n\n# 📂 Project Structure\n```\nFlask_Blog/\n│── flaskblog/\n│   ├── __init__.py        # Initialize Flask app \u0026 extensions\n│   ├── routes.py          # App routes (login, register, posts, etc.)\n│   ├── models.py          # Database models (User, Post)\n│   ├── forms.py           # Flask-WTF forms for authentication \u0026 posts\n│   ├── static/            # Static assets (CSS, images)\n│   ├── templates/         # HTML templates\n│       ├── layout.html    # Main template structure\n│       ├── login.html     # User login page\n│       ├── register.html  # User registration page\n│       ├── post.html      # Individual post page\n│       ├── user_post.html # Posts by a specific user\n│       ├── reset_request.html  # Request password reset page\n│       ├── reset_token.html    # Reset password page\n│\t├── about.html\t   # About page\n│\t├── account.html   #  User profile page (edit details \u0026 change profile picture)\n│\t├── create_post.html\t# Page to create a new blog post\n│\t├── home.html\t   #  Home page displaying blog posts\n│\t├── main.html\t   # Base template extended by other templates\n│\n│   ├── site.db            # SQLite database (ignored in .gitignore)\n│── config.py              # Application configuration (environment variables)\n│── run.py                 # Entry point for running the app\n│── requirements.txt       # Dependencies\n│── screenshots/           # ✅ Screenshots folder for README\n│   ├── account.png\n│   ├── login.png\n│   ├── register.png\n│   ├── home.png               \n│── .gitignore             # Prevents sensitive files from being committed\n│── README.md              # Project documentation\n```\n\u003chr\u003e\n\n# ⚡ Installation \u0026 Setup\n\n1️⃣ Clone the Repository\n``` bash\ngit clone https://github.com/yourusername/Flask_Blog.git\ncd Flask_Blog\n```\n2️⃣ Create a Virtual Environment\n```bash\npython -m venv venv\nsource venv/bin/activate  # On macOS/Linux\nvenv\\Scripts\\activate  # On Windows\n```\n3️⃣ Install Dependencies\n```bash\npip install -r requirements.txt\n```\n4️⃣ Set Up Environment Variables\n```bash\nSECRET_KEY=your-secret-key\nEMAIL_USER=your-email@gmail.com\nEMAIL_PASS=your-email-app-password\n```\nOr set them manually:\n```bash\nexport SECRET_KEY=\"your-secret-key\"\nexport EMAIL_USER=\"your-email@gmail.com\"\nexport EMAIL_PASS=\"your-email-app-password\"\n```\n5️⃣ Initialize the Database\n```bash\nflask db init\nflask db migrate -m \"Initial migration\"\nflask db upgrade\n```\n6️⃣ Run the Application\n```bash\npython run.py\n```\n\u003chr\u003e\n\n# 📸 Screenshots\n\n### 🔹 Login Page\n![Login Page](screenshots/login.png)\n\n### 🔹 Register Page\n![Register Page](screenshots/register.png)\n\n### 🔹 Home Page\n![Home Page](screenshots/home.png)\n\n### 🔹 Account Page\n![Account Page](screenshots/account.png)\n\n\u003chr\u003e\n\n# 🔧 Technologies Used\n\t•\tFlask (Backend Framework)\n\t•\tFlask-SQLAlchemy (ORM for Database)\n\t•\tFlask-WTF (Forms \u0026 Validation)\n\t•\tFlask-Mail (Sending Emails)\n\t•\tFlask-Login (User Authentication)\n\t•\tBcrypt (Password Hashing)\n\t•\tSQLite (Database)\n\t•\tBootstrap (Frontend Styling)\n\n\u003chr\u003e\n\n# 🛠 Future Improvements\n\n🔹 Add a comment system \u003cbr\u003e\n🔹 Implement a like/upvote feature for posts\u003cbr\u003e\n🔹 Improve UI with a modern CSS framework\u003cbr\u003e\n🔹 Enable image uploads for posts\u003cbr\u003e\n\n\u003chr\u003e\n\n# 📜 License\nThis project is licensed under the [MIT License](https://github.com/Goyam02/Flask_Blog/blob/master/LICENSE). You are free to use and modify it as per your needs.\n\n\u003chr\u003e\n\n# ⭐ Contributing\n\n\t1.\tFork the repository\n\t2.\tCreate a new branch (git checkout -b feature-branch)\n\t3.\tCommit changes (git commit -m \"Added new feature\")\n\t4.\tPush to GitHub (git push origin feature-branch)\n\t5.\tOpen a Pull Request 🎉\n\n\u003chr\u003e\n\n# 📬 Contact\n👤 Goyam Jain \u003cbr\u003e\n📧 goyamjain02@gmail.com \u003cbr\u003e\n🔗 [LinkedIn](https://www.linkedin.com/in/goyam02) \u003cbr\u003e\n\n\u003chr\u003e\n\n# 🌟 If you found this project useful, don’t forget to give it a star! ⭐\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoyam02%2Fflask_blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoyam02%2Fflask_blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoyam02%2Fflask_blog/lists"}