{"id":22057021,"url":"https://github.com/gabrielroot/flask_starter_app","last_synced_at":"2026-04-08T18:04:20.151Z","repository":{"id":64584400,"uuid":"576785311","full_name":"gabrielroot/flask_starter_app","owner":"gabrielroot","description":"A repository with basic config to start coding with flask","archived":false,"fork":false,"pushed_at":"2025-10-22T02:06:44.000Z","size":256,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T04:10:27.016Z","etag":null,"topics":["docker","docker-compose","flask","postgresql"],"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/gabrielroot.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}},"created_at":"2022-12-11T00:53:48.000Z","updated_at":"2024-11-06T00:36:29.000Z","dependencies_parsed_at":"2023-01-27T23:31:03.649Z","dependency_job_id":null,"html_url":"https://github.com/gabrielroot/flask_starter_app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gabrielroot/flask_starter_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielroot%2Fflask_starter_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielroot%2Fflask_starter_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielroot%2Fflask_starter_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielroot%2Fflask_starter_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrielroot","download_url":"https://codeload.github.com/gabrielroot/flask_starter_app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielroot%2Fflask_starter_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["docker","docker-compose","flask","postgresql"],"created_at":"2024-11-30T16:15:48.863Z","updated_at":"2026-04-08T18:04:19.718Z","avatar_url":"https://github.com/gabrielroot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"left\"\u003eFlask starter App 🚀\u003c/h1\u003e\n\n###\n\n\u003ch2 align=\"left\"\u003eAbout ptoject\u003c/h2\u003e\n\n###\n\n\u003cp align=\"left\"\u003e\n  The purpose of this project is to provide a basic starter for beginners when starting coding with flask. In my opinion, the\n  flask microframework setup is more difficult than other stacks available like Symfony, Node, React.js... So I decided\n  to make my life and other people's life easier with this.\n\u003c/p\u003e\n\n###\n\n### Techs\n  - Flask\n    - Flask==2.2.0\n    - Flask-SQLAlchemy==3.0.2\n    - Flask-Migrate==4.0.0 \n  - PostgreSql\n  - Docker\n    - Dockerfile\n    - docker-compose\n\n###\n\n\u003ch2 align=\"left\"\u003eMade with\u003c/h2\u003e\n\n###\n\n\u003cdiv align=\"left\"\u003e\n  \u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/flask/flask-original.svg\" height=\"40\" width=\"52\" alt=\"flask logo\"  /\u003e\n  \u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/python/python-original.svg\" height=\"40\" width=\"52\" alt=\"python logo\"  /\u003e\n  \u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/html5/html5-original.svg\" height=\"40\" width=\"52\" alt=\"html5 logo\"  /\u003e\n  \u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/css3/css3-original.svg\" height=\"40\" width=\"52\" alt=\"css3 logo\"  /\u003e\n  \u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/postgresql/postgresql-original.svg\" height=\"40\" width=\"52\" alt=\"postgresql logo\"  /\u003e\n  \u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/docker/docker-original.svg\" height=\"40\" width=\"52\" alt=\"docker logo\"  /\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n---\n\n\u003cbr\u003e\n\n## Run: Step by Step ▶️\n\u003e *NOTE: What do you really need in your physical machine?*\n\u003e - [Docker](https://docs.docker.com/get-docker/)\n\u003e - [Docker Compose](https://docker-docs.netlify.app/compose/install/#install-compose)\n\u003e ### **O N L Y**\n\n- `git clone https://github.com/gabrielroot/flask_starter_app.git`\n- Navigate to project root directory\n- Create a `.env` file based on `.env.sample`\n- `docker-compose up -d`\n- Wait for downloading images, libraries and setup\n- Well done!\n\n\u003cbr\u003e\n\n## Commands\n\u003e *In the root directory of the App:*\n\n- `docker-compose up -d`, to start the app in background;\n- `docker-compose down`, to stop the app;\n- `docker attach [APP_NAME|ID]`, to start monitoring a container;\n- `docker exec -it [CONTAINER] [COMMAND]`, to run a command in a container.\n\n#### Migrations\n\u003e *Run the following lines when needs to manage migrations:*\n- `docker exec -it main_flask flask db init`, to create a folder with set to migration;\n\n- `docker exec -it main_flask flask db migrate -m \"Initial migration.\"`, to generate a migration;\n\n- `docker exec -it main_flask flask db [upgrade|downgrade]`, to up/down changes based on migration files.\n\n\u003cbr\u003e\n\n## Urls\n\u003e *Accessible when the environment is running:*\n  - [App Flask - http://localhost:8000/](http://localhost:8000/)\n  - [Adminer - http://localhost:8080/](http://localhost:8080/)\n\n\u003cbr\u003e\n\n## Tips ✨\n- Start the app in non background mode (Or attach them when already running), so you can see the log of error and print outputs!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielroot%2Fflask_starter_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielroot%2Fflask_starter_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielroot%2Fflask_starter_app/lists"}