/Flask-Blog

A blogging website with all almost major features including integration with elastic search made on Flask, a framework in Python.

Primary LanguagePython

Micro blogging website

              

(Search feature not deployed due to Heroku Constraints but works fine locally.)

Project Structure

├── Procfile   
├── README.md
├── config.py
├── microblog.py
├── test.py
├── requirements.txt
├── .gitignore
├── app
│   ├── _init_.py
│   ├── email.py
│   ├── models.py
│   ├── search.py
│   ├── auth
│   │   ├── _init_.py
│   │   ├── email.py
│   │   ├── forms.py
│   │   ├── routes.py
│   ├── errors
│   │   ├── _init_.py
│   │   ├── handlers.py
│   ├── main
│   │   ├── _init_.py
│   │   ├── forms.py
│   │   ├── routes.py
│   └── templates
│       ├── _post.html
│       ├── base.html
│       ├── edit_profile.html
│       ├── index.html
│       ├── messages.html
│       ├── search.html
│       ├── send_messages.html
│       ├── user.html
│       ├── user_popup.html
│       ├── auth
│       │   ├── login.html
│       │   ├── register.html
│       │   ├── reset_password.html
│       │   ├── reset_password_request.html
│       ├── email
│       │   ├── reset_password.html
│       │   ├── reset_password.txt
│       └── errors
│           ├── 404.html
│           ├── 500.html
└── migrations

📷 Screenshots

LoginPage

ProfilePage

ExplorePage

💻 Tech stack

Backend : Python ,Flask
Database : SQLAlchemy
Frontend : CSS , HTML , Bootstrap, Javascript, jQuery, Ajax
Search Engine : Elastic Search

🚀 Features

  • Create Post on any topic, share views regarding things you like.
  • Explore new people from Explore sections.
  • Get Feeds about people you follow in Home section.
  • Update your Profile, status anytime.
  • Follow/Unfollow Feature.
  • Private Messaging service.
  • Search about any post using search option (Not deployed due to Heroku Constraints but works fine locally).
  • Last seen for Users to know their recent active state.

💨 Quick Start

  1. Clone the repo
$ git clone https://github.com/tushargithub44/Flask-Blog.git
$ cd Microblog
  1. Initialize and activate a virtualenv(For Windows):
$ pip install virtualenv
$ virtualenv --no-site-packages env
$ cd env/Scripts
$ activate.bat
  1. Install the dependencies:
$ pip install -r requirements.txt
  1. Apply Migrations:
$ flask db upgrade
  1. Run the development server:
$ flask run
  1. Navigate to http://localhost:5000

📃 Acknowledgments & References

Developed with ❤️ by Tushar