Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/defshine/flaskblog
Learn python and flask,just a tony blog system
https://github.com/defshine/flaskblog
Last synced: 3 months ago
JSON representation
Learn python and flask,just a tony blog system
- Host: GitHub
- URL: https://github.com/defshine/flaskblog
- Owner: defshine
- Created: 2014-08-25T12:28:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T01:10:38.000Z (over 7 years ago)
- Last Synced: 2024-07-31T23:39:35.355Z (6 months ago)
- Language: CSS
- Size: 2.57 MB
- Stars: 180
- Watchers: 14
- Forks: 69
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-flask - flaskblog - a simple blog system based on flask (Built with Flask)
- awesome-flask - flaskblog - a simple blog system based on flask (Built with Flask)
- awesome-flask - flaskblog - a simple blog system based on flask (Built with Flask)
README
flaskblog
=========Learn python and flask,just a tony blog system based on flask and mysql
It is similar to [cleanblog](https://github.com/defshine/cleanblog), a blog system based on flask and mongoengine###Version:v0.2-dev
##Use:
###Backend:1. [Flask](http://flask.pocoo.org/)
2. [Flask-SQLAlchemy](https://pythonhosted.org/Flask-SQLAlchemy/) ORM for mysql
3. [Flask-WTF](https://flask-wtf.readthedocs.org/en/latest/)
4. [Flask-Login](https://flask-login.readthedocs.org/en/latest/)
5. [Flask-Admin](http://flask-admin.readthedocs.org/en/latest/)
6. [Flask-Script](http://flask-script.readthedocs.org/en/latest/)
7. [Flask-Cache](http://www.pythondoc.com/flask-cache/index.html)
###Web:
1. [Bootstrap-3.2.0](http://getbootstrap.com/)
2. [bootstrap-material-design](https://github.com/FezVrasta/bootstrap-material-design)
3. [CKEditor 4.4.7_standard](http://ckeditor.com/)##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)](https://github.com/defshine/flaskblog/wiki/Deploy-Flask-App-on-Ubuntu(Virtualenv-Gunicorn-Nginx-Supervisor))
## Version
v0.2
v0.1
##Connect meLife is short,you need python!
If you are interested in this project, Join us!## License
This project is licensed under the [MIT license](http://opensource.org/licenses/MIT), see `LICENSE` for more details.