Social Media Example with Flask Microframework
You can create your own profile, you can edit your informations, publish posts, add new users and give them authorization.
I used MySQL. First of all, you should create tables. You can access the photos of tables in the files.