{"repo":"graup/flask-restless-security","free":true,"listed":false,"github":"https://github.com/graup/flask-restless-security","clone":"git clone https://github.com/graup/flask-restless-security.git","description":"Concise skeleton for development of Flask, Flask-Restless, SQLAlchemy, JWT based REST APIs.","language":"Python","stars":157,"topics":["flask","flask-security","python","jwt","sqlalchemy"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"This is a starting point for a Flask website + API using: - Flask-Restless (API) - Flask-Security (Authentication) - Flask-JWT (API authentication) - Flask-Admin (Admin views) - SQLAlchemy (ORM) Plus stubs for - Templates - Testing I got the basic idea from Nic: http://stackoverflow.com/a/24258886/700283 The goal here is simple code. You can read through everything in a short time and get a good idea of how you could put these pieces together. Setup ===== - Create and activate a vitualenv - Run pip install -r requirements.txt - Start server using python server.py Website - Access site at /. Not much there, just a basic example for logging in Admin - Access admin at /admin API auth - POST /api/v1/auth {'username': '', 'password': ''} - Returns JSON with {'access token':''} - Then request from API using header 'Authorization: JWT $token' Tests - Run tests using python test.py","default_branch":null,"files":null,"tree":[],"storefront":"/r/graup","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/graup/flask-restless-security/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}