{"id":13501741,"url":"https://github.com/graup/flask-restless-security","last_synced_at":"2025-06-23T17:33:32.877Z","repository":{"id":151649260,"uuid":"23010754","full_name":"graup/flask-restless-security","owner":"graup","description":"Concise skeleton for development of Flask, Flask-Restless, SQLAlchemy, JWT based REST APIs.","archived":false,"fork":false,"pushed_at":"2019-10-22T08:53:20.000Z","size":33,"stargazers_count":159,"open_issues_count":0,"forks_count":28,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-02-27T18:13:06.767Z","etag":null,"topics":["flask","flask-security","jwt","python","sqlalchemy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-08-16T04:39:48.000Z","updated_at":"2025-02-13T20:17:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a56afa5-1b57-4b70-8012-f49a329d865d","html_url":"https://github.com/graup/flask-restless-security","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graup%2Fflask-restless-security","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graup%2Fflask-restless-security/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graup%2Fflask-restless-security/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graup%2Fflask-restless-security/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graup","download_url":"https://codeload.github.com/graup/flask-restless-security/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243846976,"owners_count":20357294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","flask-security","jwt","python","sqlalchemy"],"created_at":"2024-07-31T22:01:48.334Z","updated_at":"2025-03-17T05:32:04.369Z","avatar_url":"https://github.com/graup.png","language":"Python","readme":"[![Build Status](https://travis-ci.org/graup/flask-restless-security.svg?branch=master)](https://travis-ci.org/graup/flask-restless-security)\n\nThis is a starting point for a [Flask](http://flask.pocoo.org/) website + API using:\n\n- [Flask-Restless](https://flask-restless.readthedocs.org/en/latest/) (API)\n- [Flask-Security](https://pythonhosted.org/Flask-Security/) (Authentication)\n- [Flask-JWT](https://pythonhosted.org/Flask-JWT/) (API authentication)\n- [Flask-Admin](http://flask-admin.readthedocs.org/en/latest/) (Admin views)\n- [SQLAlchemy](http://www.sqlalchemy.org/) (ORM)\n\nPlus stubs for\n\n- Templates\n- Testing\n\nI got the basic idea from Nic:\nhttp://stackoverflow.com/a/24258886/700283\n\nThe goal here is simple code. You can read through everything in a short time \nand get a good idea of how you could put these pieces together.\n\nSetup\n=====\n\n- Create and activate a vitualenv\n- Run `pip install -r requirements.txt`\n- Start server using `python server.py`\n\n**Website**\n\n- Access site at /. Not much there, just a basic example for logging in\n\n**Admin**\n\n- Access admin at /admin\n\n**API auth**\n\n- POST /api/v1/auth {'username': '', 'password': ''}\n- Returns JSON with {'access_token':''}  \n- Then request from API using header 'Authorization: JWT $token'\n\n**Tests**\n\n- Run tests using `python test.py`","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraup%2Fflask-restless-security","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraup%2Fflask-restless-security","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraup%2Fflask-restless-security/lists"}