{"id":19086697,"url":"https://github.com/kuduxaaa/flask-structure","last_synced_at":"2025-04-30T09:46:13.164Z","repository":{"id":135438110,"uuid":"435212722","full_name":"Kuduxaaa/flask-structure","owner":"Kuduxaaa","description":"This is an already built-in MVC structure for Flask application, you can add models views and controllers, you can also easily start working on the API with a structure already made","archived":false,"fork":false,"pushed_at":"2022-10-12T13:08:50.000Z","size":8,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T00:41:09.954Z","etag":null,"topics":["flask","flask-mvc-structure","flask-structure","structure"],"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/Kuduxaaa.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-05T16:00:41.000Z","updated_at":"2024-08-26T08:55:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"955a9d88-e915-4d0d-b14a-fb16b98c52aa","html_url":"https://github.com/Kuduxaaa/flask-structure","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/Kuduxaaa%2Fflask-structure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuduxaaa%2Fflask-structure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuduxaaa%2Fflask-structure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuduxaaa%2Fflask-structure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kuduxaaa","download_url":"https://codeload.github.com/Kuduxaaa/flask-structure/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251678163,"owners_count":21626293,"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-mvc-structure","flask-structure","structure"],"created_at":"2024-11-09T03:00:18.070Z","updated_at":"2025-04-30T09:46:13.158Z","avatar_url":"https://github.com/Kuduxaaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlaskInit\n\nThis is an already built-in MVC structure for Flask application, you can add models views and controllers, you can also easily start working on the API with a structure already made\n\n```\n- app\n    - api\n        - __init__.py\n        - resources.py\n\n\n    - controllers\n        - main.py\n\n\n    - models\n        - users.py\n\n\n    - public\n        - css\n        - img\n        - js\n        - robots.txt\n\n\n    - service\n        - __init__.py\n\n\n    - views\n        - error\n        - inc\n        - layouts\n        - main\n\n    - __init__.py\n\n- config.py\n- requirements.txt\n- manager\n```\n\n## API Folder\n\nFrom here you can add as many resources as you want for API. Do not forget to register these resources in the `__init __.py` file.\n\n```python3\nfrom app.api import resources, RESOURCE_FILE    # API Resources\n\napi_router.add_resource(resources.Example, '/')\napi_router.add_resource(RESOURCE_FILE.RESOURCE_CLASS_NAME, 'RESOURCE_ROUTE')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuduxaaa%2Fflask-structure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuduxaaa%2Fflask-structure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuduxaaa%2Fflask-structure/lists"}