• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    CSS
  • Created over 10 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Learn python and flask,just a tony blog system

flaskblog

Learn python and flask,just a tony blog system based on flask and mysql
It is similar to cleanblog, a blog system based on flask and mongoengine

###Version:v0.2-dev

##Use:

###Backend:

  1. Flask
  2. Flask-SQLAlchemy ORM for mysql
  3. Flask-WTF
  4. Flask-Login
  5. Flask-Admin
  6. Flask-Script
  7. Flask-Cache

###Web:

  1. Bootstrap-3.2.0
  2. bootstrap-material-design
  3. CKEditor 4.4.7_standard

##Finish:

####The basic function of blog:

Post:read,write,edit,delete
Category:read,add,edit,delete
Comment: use duoshuo
Blogroll: add,list

####Develop simple restful api

URL Method Description
/api/posts GET Gives a list of all posts
/api/posts/post_id GET Gives a posts by post_id
/api/categories/category_id/posts GET Gives a list of posts by category_id
/api/categories GET Gives a list of all categories
/api/categories/category_id GET Gives a categories by category_id

##Todo

  1. Think more about restful api design
  2. Develop simple android app

##Deploy

Pelease see project wiki Deploy Flask App on Ubuntu(Virtualenv+Gunicorn+Nginx+Supervisor)

Version

v0.2
v0.1

##Connect me

Life is short,you need python! If you are interested in this project, Join us!

License

This project is licensed under the MIT license, see LICENSE for more details.