This is an interactive micro blogging application written using Flask Framework. Following are the functionalities, I have incorporated in the project:
- Registration with password hashing
- Login after registration, by verifying hashed password
- User can write a Blog in RichTextFormat and update, delete the blog
- User can change the password and basic information
- User can view all blogs writen by others
- User can see other blogger information
- MySQL is used for database
- Flask_bootstrap is used for frontend design
- flask_ckeditor module used for rich text formatting experiance
- workzeug.security used for password hasing and de-hashing
- used python logging for logging module for logging purpose
- Create a Virtual env using command 'virtualenv {venvname}'. Move into the virtual env using '{venvname}\Scripts\Activate'
- install all the requirements using "pip install -r 'requirements.txt'"
- run the project using 'python app.py'
- Modify the database related information in db.yaml
- Download the dbdump.sql file store it in a folder.
- go to mysql command prompt and create a database using command 'CREATE DATABASE tinyblogdb'
- use the database 'use tinyblogdb'
- open command prompt in administrative mode
- move to mysql installation folder (defult location is: 'C:\Program Files\MySQL\MySQL Server 8.0\bin')
- use following command to import the database dump: 'mysql -u -p tinyblogdb < C:\dbdump.sql'
Next is to Build API to access the information:
- Basic authentication using API
- Read (GET) user Blogs after authentication
- Careate (POST) User Blogs after authentication
- update (PUT) User Blogs after authentication
- delete (DELETE) User Blogs after authentication
- Get(GET) user details