{"id":16175186,"url":"https://github.com/app-generator/flask-material-dashboard2-pro","last_synced_at":"2026-03-18T18:15:40.133Z","repository":{"id":100502974,"uuid":"599210482","full_name":"app-generator/flask-material-dashboard2-pro","owner":"app-generator","description":"Flask - Material Dashboard 2 PRO | AppSeed","archived":false,"fork":false,"pushed_at":"2023-06-15T08:25:42.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T02:57:56.912Z","etag":null,"topics":["appseed","flask-template","material-dashboard"],"latest_commit_sha":null,"homepage":"https://appseed.us/product/material-dashboard2-pro/flask/","language":null,"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-08T17:20:10.000Z","updated_at":"2024-02-28T18:04:55.000Z","dependencies_parsed_at":"2025-02-13T13:42:11.202Z","dependency_job_id":"4aa4e8c7-ea7e-4c20-84de-2b8f55ef9630","html_url":"https://github.com/app-generator/flask-material-dashboard2-pro","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/app-generator/flask-material-dashboard2-pro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-material-dashboard2-pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-material-dashboard2-pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-material-dashboard2-pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-material-dashboard2-pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/flask-material-dashboard2-pro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-material-dashboard2-pro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29613122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["appseed","flask-template","material-dashboard"],"created_at":"2024-10-10T04:44:18.811Z","updated_at":"2026-02-19T12:31:39.672Z","avatar_url":"https://github.com/app-generator.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Flask Material Dash 2 PRO](https://appseed.us/product/material-dashboard2-pro/flask/)\n\n**Flask** starter styled with **[Material Dashboard PRO](https://appseed.us/product/material-dashboard2-pro/flask/)**, a premium `Bootstrap 5` KIT from [Creative-Tim](https://bit.ly/3fKQZaL).\nThe product is designed to deliver the best possible user experience with highly customizable feature-rich pages. \n\n- 👉 [Flask Material 2 PRO](https://appseed.us/product/material-dashboard2-pro/flask/) - Product page\n- 👉 [Flask Material 2 PRO](https://flask-material-dashboard2-pro.appseed-srv1.com) - LIVE Demo\n\n\u003cbr /\u003e\n\n\u003e Features\n\n- ✅ `Up-to-date dependencies`\n- ✅ UI Kit: [Material Dashboard 2](https://www.creative-tim.com/product/material-dashboard-pro?AFFILIATE=128200) (BS5 Version) by `Creative-Tim`\n- ✅ `Database`: `SQLite`, MySql\n  - Silent fallback to `SQLite`\n- ✅ `DB Tools`: SQLAlchemy ORM, `Flask-Migrate`\n- ✅ `Authentication`, Session Based, `OAuth` via **Github**\n- ✅ Docker, `Flask-Minify` (page compression)\n- 🚀 `Deployment` \n  - `CI/CD` flow via `Render`\n\n\u003cbr /\u003e\n\n![Flask Material Dash 2 PRO - Premium starter crafted by AppSeed and Creative-Tim.](https://user-images.githubusercontent.com/51070104/218248092-adf0dfe6-10bb-4665-aa89-dd6265d11995.png)\n\n\u003cbr /\u003e\n\n## ✨ Start the app in Docker\n\n\u003e 👉 **Step 1** - Download \u0026 Unzip the code (`requires a purchase` from the official [product](https://appseed.us/product/material-dashboard2-pro/flask/) page)\n\n```bash\n$ unzip flask-material-dashboard2-pro.zip\n$ cd flask-material-dashboard2-pro\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 **Step 2** - Start the APP in `Docker`\n\n```bash\n$ docker-compose up --build \n```\n\nVisit `http://localhost:5085` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n## ✨ How to use it\n\n\u003e 👉 **Step 1** - Download \u0026 Unzip the code (`requires a purchase` from the official [product](https://appseed.us/product/material-dashboard2-pro/flask/) page)\n\n```bash\n$ unzip flask-material-dashboard2-pro.zip\n$ cd flask-material-dashboard2-pro\n```\n\n\u003cbr /\u003e\n\n### 👉 Set Up for `Unix`, `MacOS` \n\n\u003e Install modules via `VENV`  \n\n```bash\n$ virtualenv env\n$ source env/bin/activate\n$ pip3 install -r requirements.txt\n```\n\n\u003cbr /\u003e\n\n\u003e Set Up Flask Environment\n\nEdit `.env` using `env.sample` or simply export the variables in the `environment`. Here are the expected values: \n\n- `DEBUG`: controls the `Development`, `Production` mode\n  - Default `False` (production)\n- `SECRET_KEY`: optional, random value used if not provided\n- `DB credentials`\n  - `Note`: if NOT provided, or wrong values, **SQLite is used**\n  - `DB_ENGINE`, `DB_HOST`, `DB_NAME` ...\n \n\u003cbr /\u003e\n\n\u003e Start the app\n\n```bash\n$ flask run\n```\n\nAt this point, the app runs at `http://127.0.0.1:5000/`. \n\n\u003cbr /\u003e\n\n## ✨ Code-base structure\n\nThe project is coded using blueprints, app factory pattern, dual configuration profile (development and production) and an intuitive structure presented bellow:\n\n```bash\n\u003c PROJECT ROOT \u003e\n   |\n   |-- apps/\n   |    |\n   |    |-- home/                          # A simple app that serve HTML files\n   |    |    |-- routes.py                 # Define app routes\n   |    |\n   |    |-- authentication/                # Handles auth routes (login and register)\n   |    |    |-- routes.py                 # Define authentication routes  \n   |    |    |-- models.py                 # Defines models  \n   |    |    |-- forms.py                  # Define auth forms (login and register) \n   |    |\n   |    |-- static/\n   |    |    |-- \u003ccss, JS, images\u003e         # CSS files, Javascripts files\n   |    |\n   |    |-- templates/                     # Templates used to render pages\n   |    |    |-- includes/                 # HTML chunks and components\n   |    |    |    |-- navigation.html      # Top menu component\n   |    |    |    |-- sidebar.html         # Sidebar component\n   |    |    |    |-- footer.html          # App Footer\n   |    |    |    |-- scripts.html         # Scripts common to all pages\n   |    |    |\n   |    |    |-- layouts/                   # Master pages\n   |    |    |    |-- base-fullscreen.html  # Used by Authentication pages\n   |    |    |    |-- base.html             # Used by common pages\n   |    |    |\n   |    |    |-- accounts/                  # Authentication pages\n   |    |    |    |-- login.html            # Login page\n   |    |    |    |-- register.html         # Register page\n   |    |    |\n   |    |    |-- home/                      # UI Kit Pages\n   |    |         |-- index.html            # Index page\n   |    |         |-- 404-page.html         # 404 page\n   |    |         |-- *.html                # All other pages\n   |    |    \n   |  config.py                             # Set up the app\n   |    __init__.py                         # Initialize the app\n   |\n   |-- requirements.txt                     # Development modules - SQLite storage\n   |\n   |-- Dockerfile                           # Deployment\n   |-- docker-compose.yml                   # Deployment\n   |-- gunicorn-cfg.py                      # Deployment   \n   |-- nginx                                # Deployment\n   |    |-- appseed-app.conf                # Deployment \n   |\n   |-- .env                                 # Inject Configuration via Environment\n   |-- run.py                               # Start the app - WSGI gateway\n   |\n   |-- ************************************************************************\n```\n\n\u003cbr /\u003e\n\n---\n[Flask Material Dash 2 PRO](https://appseed.us/product/material-dashboard2-pro/flask/) - Provided by **[AppSeed](https://appseed.us/app-generator)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fflask-material-dashboard2-pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fflask-material-dashboard2-pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fflask-material-dashboard2-pro/lists"}