{"id":38926857,"url":"https://github.com/solnsumei/flask-rest-api-setup","last_synced_at":"2026-01-17T15:37:40.581Z","repository":{"id":50206415,"uuid":"136787200","full_name":"solnsumei/flask-rest-api-setup","owner":"solnsumei","description":"Starter template for your Flask and Flask Rest API projects. Build on or modify to suit your development need. No need to setup, just fork this repo and start building your project.","archived":false,"fork":false,"pushed_at":"2025-03-11T04:24:35.000Z","size":15,"stargazers_count":19,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T05:24:32.962Z","etag":null,"topics":["api-starter-template","flask","flask-api","flask-application","flask-rest-api-starter-template","flask-restful","flask-server","flask-sqlalchemy","gunicorn","gunicorn-flask-webserver","gunicorn-web-server","gunicorn-with-flask-rest-api","hacktoberfest","rest-api","restful-api","starter-template"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solnsumei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-10T07:05:51.000Z","updated_at":"2025-03-11T04:23:46.000Z","dependencies_parsed_at":"2025-02-14T15:37:48.022Z","dependency_job_id":null,"html_url":"https://github.com/solnsumei/flask-rest-api-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/solnsumei/flask-rest-api-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnsumei%2Fflask-rest-api-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnsumei%2Fflask-rest-api-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnsumei%2Fflask-rest-api-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnsumei%2Fflask-rest-api-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solnsumei","download_url":"https://codeload.github.com/solnsumei/flask-rest-api-setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnsumei%2Fflask-rest-api-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api-starter-template","flask","flask-api","flask-application","flask-rest-api-starter-template","flask-restful","flask-server","flask-sqlalchemy","gunicorn","gunicorn-flask-webserver","gunicorn-web-server","gunicorn-with-flask-rest-api","hacktoberfest","rest-api","restful-api","starter-template"],"created_at":"2026-01-17T15:37:40.486Z","updated_at":"2026-01-17T15:37:40.560Z","avatar_url":"https://github.com/solnsumei.png","language":"Python","readme":"# Flask Rest API Setup\n\nInitial scaffolding for a flask rest API development. Starter template for building your Flask and Flask Rest API applications.\n\n## Features\n- Gunicorn server setup\n- Database migration setup for SQLAlchemy Models\n- JWT authentication at `\u003cyour-host\u003e/api/v1/login`\n- Url to register your admin and users at `\u003cyour-host\u003e/api/v1/signup`\n- Provisioned route file for all your routes with admin blueprints\n- Test environment setup\n\n## Built With\n\nThis App was developed with the following stack:\n\n- Python==3.12\n- Flask==3.10\n- Flask-restful==0.3.10\n- Flask-Script==2.0.6\n- Flask-SQLAlchemy==3.1.1\n- Postgres DB / SQlite\n- Gunicorn Web Server\n\n## Requirements\n- Python 3.12+\n- Python pip\n- Postgres / SQlite\n\n## Installation\n- fork this repository\n- create a .env file as shown in the env_example file\n- setup your database \n- on the terminal cd into the app folder \n- run `pip install -r requirements.txt` to install required modules\n- run `flask --app manage db init ` to setup alembic migrations\n- run `flask --app manage db migrate -m='\u003cyour migration message\u003e'` to create migration files\n- then run `flask --app python manage db upgrade` to create tables\n\n## Running the App\n- on the terminal run `gunicorn main:app`\n- To run app on a specific port use `gunicorn -127.0.0.1:port main:app`\n\n## Usage\n- `src/api/resources` --- flask-restful resources for your project\n- `src/models` --- SQLAlchemy models and schema\n- `src/routes/api` --- contains all your route definition\n- `src/utils` --- contains validations, security and helper files\n- `src/middlewares` --- define your middleware files here\n- You can modify the app to suit your need.\n- Happy usage.\n\n## Update Information\n- Flask-JWT has been replaced with Flask-JWT-extended\n- Flask-Scripts and dependencies removed.\n- Future versions may use Pydantic instead of Marshmallow\n\n## Contributions\n- Contributors are needed to keep developing this template with updates to its dependencies. You can reach me on my email.\n\n## Credits\nsolnsumei@gmail.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolnsumei%2Fflask-rest-api-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolnsumei%2Fflask-rest-api-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolnsumei%2Fflask-rest-api-setup/lists"}