melardev / FlaskApiBlog

Python Rest Blog application built with Flask + Flask SQLAlchemy

Home Page:http://melardev.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Flask Blog api app, this application is not finished.

Getting started

  1. Git clone
  2. execute reset.bat to make migrations, migrate
  3. Seed the database with: python2 seed_db
  4. Run server with python2.py app.py

Features implemented

  • Seeding All models: Article, Comment, Like, UserSubscription, User, Role, Tag, Category
  • Controller Articles
  • Controller Comment
  • Authentication/Authorization
  • Follower/Following authors
  • Middlewares: Benchmark + User loader

useful commands

flask2 db init flask2 db migrate -m 'initial migration' flask2 db upgrade

TODO

  • I am trying to migrate from using the classic blueprint to use Flask-RestFul

Resources

About

Python Rest Blog application built with Flask + Flask SQLAlchemy

http://melardev.com


Languages

Language:Python 99.0%Language:Mako 0.8%Language:Batchfile 0.2%