{"id":14069330,"url":"https://github.com/app-generator/devtool-flask-api-generator","last_synced_at":"2025-04-07T10:56:39.927Z","repository":{"id":60901809,"uuid":"537324081","full_name":"app-generator/devtool-flask-api-generator","owner":"app-generator","description":"Flask API Generator - Open-Source Tool for Developers | AppSeed","archived":false,"fork":false,"pushed_at":"2022-10-06T13:08:03.000Z","size":26456,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T18:12:47.263Z","etag":null,"topics":["api-generator","appseed","flask","open-source"],"latest_commit_sha":null,"homepage":"https://appseed.us","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-16T05:55:42.000Z","updated_at":"2023-04-11T15:54:23.000Z","dependencies_parsed_at":"2023-01-19T11:03:58.758Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/devtool-flask-api-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":"app-generator/flask-soft-ui-dashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdevtool-flask-api-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdevtool-flask-api-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdevtool-flask-api-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdevtool-flask-api-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/devtool-flask-api-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640512,"owners_count":20971555,"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":["api-generator","appseed","flask","open-source"],"created_at":"2024-08-13T07:06:51.547Z","updated_at":"2025-04-07T10:56:39.907Z","avatar_url":"https://github.com/app-generator.png","language":"SCSS","readme":"# Flask API Generator\n\nThe tool is able to generate APIs using Flask, Flask-RestX stack with a minimum effort. For newcomers, Flask is a leading backend framework used to code from simple websites and APIs to complex eCommerce solutions.\n\n- 👉 Free [support](https://appseed.us/support/) via Email and [Discord](https://discord.gg/fZC6hup)\n- 👉 More [Developer Tools](https://appseed.us/developer-tools/) - provided by AppSeed\n\n\u003cbr /\u003e\n\n## Video Presentation\n\nhttps://user-images.githubusercontent.com/51070104/194278839-8ea8e6e1-5ce9-4c53-9b8a-442a208c46d3.mp4\n\n\u003cbr /\u003e\n\n## How It Works\n\nThis module helps to generate secure APIs using `Flask-restX` via a simple workflow: \n\n- Edit/add your model in `apps/models.py`\n- Migrate the database:\n\n```bash\n$ flask db init     # this should be executed only once\n$ flask db migrate  # Generates the SQL \n$ flask db upgrade  # Apply changes \n```\n\n- Update Configuration:\n  - `apps/config .py`, section `API_GENERATOR` \n- Generate the API code:\n  - `$ flask gen_api`        # the new code is saved in `apps/api`\n- Access the API in the browser:\n  - `/api/MODEL_NAME/`\n\nThe API is secured using the JWT tocken provided by `/login/jwt/` request (username \u0026 password should be provided).  \n\n- GET requests are public (GET all, get Item)\n- Mutating requests are protected by token generated based on the user credentials (`username`, `pass`). \n\n\u003e Two POSTMAN Collections are provided in the `media` directory: \n\n- [Books API](./media/api-books.postman_collection) - that uses PORT **5000* for the api\n- [Books API 2](./media/api-books-docker.postman_collection) - that uses PORT **5085* for the api (default port in Docker)\n\nIn case both port are unusable in your environment, feel free to edit the files before POSTMAN import.\n\n\u003cbr /\u003e\n\n--- \n**Flask API Generator** - Developer tool provided by [AppSeed](https://appseed.us)\n","funding_links":[],"categories":["SCSS"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdevtool-flask-api-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fdevtool-flask-api-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdevtool-flask-api-generator/lists"}