A blogging application with following features:
- Allows user to log in and out.
- Register new users.
- Password recovery.
- Users can post blogs.
- User profile page containing their bio(user bio, last seen, followers, users followed).
- Post by users followed(pagination that allows going back and forth the list).
- Able to see all the posts made by other users.
- Follow other users.
- Search posts.
- Translate blogs in different language.
- Send private message to others.
- python3 -m venv venv (virtual environment)
- virtualenv venv (for python2; first install virtualenv)
- source venv/bin/activate (activate venv)
- pip install flask (flask install)
- export FLASK_APP=microblog.py (set up environment)
- flask run
- pip install flask-wtf (extension to handle web-forms)
- app.config contains the configurations of the frameworks as a configuration variable
- pip install flask-sqlalchemy (database)
- pip install flask-migrate (database migration)
- pip install flask-login (different functionalities which help in user log-in)
- export FLASK_DEBUG=1 (for debugging mode and reloader)
- flask db migrate -m <comment> (make changes in the database)
- flask db upgrade (migration)
- Use jinja2 to render templates.