{"id":26871714,"url":"https://github.com/eocode/test_flask","last_synced_at":"2026-04-30T10:37:05.302Z","repository":{"id":126329650,"uuid":"297855514","full_name":"eocode/Test_flask","owner":"eocode","description":"Prebuild for Flask cookiecutter","archived":false,"fork":false,"pushed_at":"2020-09-23T05:48:44.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T07:34:07.134Z","etag":null,"topics":["flask","pytest","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/eocode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-23T04:48:32.000Z","updated_at":"2020-09-26T05:25:12.000Z","dependencies_parsed_at":"2023-06-16T08:00:18.155Z","dependency_job_id":null,"html_url":"https://github.com/eocode/Test_flask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eocode/Test_flask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eocode%2FTest_flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eocode%2FTest_flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eocode%2FTest_flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eocode%2FTest_flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eocode","download_url":"https://codeload.github.com/eocode/Test_flask/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eocode%2FTest_flask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32462304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["flask","pytest","sqlalchemy"],"created_at":"2025-03-31T07:30:30.627Z","updated_at":"2026-04-30T10:37:05.297Z","avatar_url":"https://github.com/eocode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"64\" src=\"https://avatars1.githubusercontent.com/u/66532658?s=400\u0026u=f2457dec96897c5dbc843372ec8b325589ab84d5\u0026v=4\" alt=\"cookiecutter-django-rest\"\u003e\n  \u003ch3 align=\"center\"\u003eApp\u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n    Flask best practices template\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/ActivandoIdeas/Cookiecutter-Django-AppEngine-GitLab/blob/master/LICENSE\"\u003e\n      \t\u003cimg src=\"https://img.shields.io/badge/License-BSD3-blue.svg\"  alt=\"license badge\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/ActivandoIdeas/Cookiecutter-Django-AppEngine-GitLab\"\u003e\n        \u003cimg src=\"https://img.shields.io/travis/ActivandoIdeas/Cookiecutter-Django-AppEngine-GitLab.svg?label=django-cookiecutter\" alt=\"Build Status\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.python.org/\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/pyversions/Django.svg?style=flat-square\"  alt=\"python badge\"\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## Demo\n\nYour demo project\n\n## How to clone\n\nYou can clone this repository\n\n    git clone https://github.com/eocode/App\n    \n## File structure\n\n* **app** (Flask configurations project)\n  * **init** (Create and initialize app)\n  * **config** (All settings environments)\n  * **connection** (Settings for SQLAlchemy)\n  * **envs** (Injectable envs in app)\n  * **commands** (Tools for switch environments and other quick utilities)\n  * **img** (Project images for documentation)\n  * **requirements** (Dependencies files for app)\n* **test**\n* **migrations** (Migrations files, not public, disabled by gitignore)\n* **labs** (Labs for create quick scripts for analize problem, you can disabled by gitignore)\n* **modules** Your project modules\n  * **example** (Main blueprint Flask module)\n\n## Dependencies\n\n* Flask\n* python-dotenv\n* Flask-sqlalchemy\n* Psycopg2\n* Pytest\n* Flask-migrate\n\n## Environment configuration\n\nEdit envs/.env.* and add your configuration\n\nThen execute:\n```sh\npython app/commands/environment.py development\n```\n\nAvailable params:\n* production\n* testing\n* development\n\n## Use on local\nTo install this project just type\n\nCreate virtual enviroment:\n\n    $ python -m venv env\n\nActive your enviroment\n\nInstall dependencies\n\n    $ pip install -r requirements.txt\n\nRun the project\n\n    $ flask run\n    \n## Dockerized app\n\nStart app\n\n```bash\ndocker compose up -d\n```\n\nStop app\n\n```bash\ndocker compose down\n```\n\nRebuild app\n\n```bash\ndocker-compose up -d --build\n```\n\nAccess to command line interface\n\n```bash\ndocker exec -it flask-app bash\n```\n\n## Run migrations\n\nBy default migrations foldar has been add to .gitignore\n\nOpen Terminal\n\n```bash\ndocker exec -it flask-app bash\n```\n\nInit database migrations\n\n```bash\nflask db init\n```\n\nGenerate migrations\n\n```bash\nflask db migrate\n```\n\nRun migrations\n\n```bash\nflask db upgrade\n```\n\nShow more commands\n\n```bash\nflask db\n```\n\n## Run tests\n\nOn Docker\n\n```sh\ndocker-compose exec queens-app pytest\n```\n\nor only\n\npytest\n\n### Ejecute coverage report\n\n```sh\ncoverage run -m pytest\ncoverage report\ncoverage html\n```\n\n## Preview\n\nYour image project previews\n\n## How to contribute\n\n* Review our code of conduct\n\n# License\n\nView in https://github.com/eocode/App/blob/master/LICENSE","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feocode%2Ftest_flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feocode%2Ftest_flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feocode%2Ftest_flask/lists"}