Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/melardev/flaskapiblog
Python Rest Blog application built with Flask + Flask SQLAlchemy
https://github.com/melardev/flaskapiblog
api blog cms crud flask flask-sqlalchemy full-stack fullstack pagination python rest sqlalchemy
Last synced: 14 days ago
JSON representation
Python Rest Blog application built with Flask + Flask SQLAlchemy
- Host: GitHub
- URL: https://github.com/melardev/flaskapiblog
- Owner: melardev
- Created: 2019-02-19T11:43:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-19T11:43:17.000Z (almost 6 years ago)
- Last Synced: 2024-11-26T09:12:10.256Z (2 months ago)
- Topics: api, blog, cms, crud, flask, flask-sqlalchemy, full-stack, fullstack, pagination, python, rest, sqlalchemy
- Language: Python
- Homepage: http://melardev.com
- Size: 20.5 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- [Flask JWT](https://pythonhosted.org/Flask-JWT/)
- [Flask Config](http://flask.pocoo.org/docs/0.12/config/#config)