{"id":16175185,"url":"https://github.com/app-generator/flask-light-bootstrap","last_synced_at":"2025-03-19T00:31:12.132Z","repository":{"id":100502961,"uuid":"189931814","full_name":"app-generator/flask-light-bootstrap","owner":"app-generator","description":"Flask Dashboard - Light Bootstrap | AppSeed","archived":false,"fork":false,"pushed_at":"2023-10-08T06:26:16.000Z","size":6621,"stargazers_count":60,"open_issues_count":0,"forks_count":21,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T05:55:49.757Z","etag":null,"topics":["boostrap-template","bootstrap-app","bootstrap-flask","bootstrap-webapp","bootstrap4","flask-bootstrap","flask-bs4","flask-light-design","light-bootstrap","light-theme"],"latest_commit_sha":null,"homepage":"https://appseed.us/product/light-bootstrap-dashboard/flask/","language":"HTML","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}},"created_at":"2019-06-03T03:58:37.000Z","updated_at":"2025-03-08T06:52:41.000Z","dependencies_parsed_at":"2023-05-15T11:15:35.724Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/flask-light-bootstrap","commit_stats":null,"previous_names":["app-generator/flask-light-bootstrap","app-generator/flask-light-bootstrap-dashboard"],"tags_count":5,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-light-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-light-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-light-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-light-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/flask-light-bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955700,"owners_count":20374373,"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":["boostrap-template","bootstrap-app","bootstrap-flask","bootstrap-webapp","bootstrap4","flask-bootstrap","flask-bs4","flask-light-design","light-bootstrap","light-theme"],"created_at":"2024-10-10T04:44:18.618Z","updated_at":"2025-03-19T00:31:10.852Z","avatar_url":"https://github.com/app-generator.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Light Bootstrap Flask](https://appseed.us/product/light-bootstrap-dashboard/flask/)\n\nOpen-source **[Flask Dashboard](https://appseed.us/admin-dashboards/flask/)** generated by `AppSeed` on top of a modern `Bootstrap` design. Designed for those who like bold elements and beautiful websites, **Light Bootstrap** is ready to help you create stunning websites and web apps. **Light Bootstrap** is built with over 50 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.\n\n- 👉 [Light Bootstrap Flask](https://appseed.us/product/light-bootstrap-dashboard/flask/) - Product page\n- 👉 [Light Bootstrap Flask](https://flask-light-bootstrap.appseed-srv1.com/) - LIVE Demo\n\n\u003cbr /\u003e\n\n## ✅ **Features**\n\n- `Up-to-date dependencies`\n- Database: `sqlite`\n- `DB Tools`: SQLAlchemy ORM, Flask-Migrate (schema migrations)\n- Session-Based authentication (via **flask_login**), Forms validation\n- `Docker`\n\n![Light Bootstrap Dashboard - Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/173181221-fc7697ab-e5ed-45e2-9e2b-8164e1df5b6d.png)\n\n\u003cbr /\u003e \n\n## ✅ Start in `Docker`\n\n\u003e 👉 **Step 1** - Download the code from the GH repository (using `GIT`) \n\n```bash\n$ git clone https://github.com/app-generator/flask-light-bootstrap.git\n$ cd flask-light-bootstrap\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## ✅ Manual Build\n\n\u003e Download the code \n\n```bash\n$ git clone https://github.com/app-generator/flask-light-bootstrap-dashboard.git\n$ cd flask-light-bootstrap-dashboard\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\n```bash\n$ export FLASK_APP=run.py\n$ export FLASK_ENV=development\n```\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### 👉 Set Up for `Windows` \n\n\u003e Install modules via `VENV` (windows) \n\n```\n$ virtualenv env\n$ .\\env\\Scripts\\activate\n$ pip3 install -r requirements.txt\n```\n\n\u003cbr /\u003e\n\n\u003e Set Up Flask Environment\n\n```bash\n$ # CMD \n$ set FLASK_APP=run.py\n$ set FLASK_ENV=development\n$\n$ # Powershell\n$ $env:FLASK_APP = \".\\run.py\"\n$ $env:FLASK_ENV = \"development\"\n```\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### 👉 Create Users\n\nBy default, the app redirects guest users to authenticate. In order to access the private pages, follow this set up: \n\n- Start the app via `flask run`\n- Access the `registration` page and create a new user:\n  - `http://127.0.0.1:5000/register`\n- Access the `sign in` page and authenticate\n  - `http://127.0.0.1:5000/login`\n\n\u003cbr /\u003e\n\n## ✅ Codebase\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                     # App Dependencies\n   |\n   |-- .env                                 # Inject Configuration via Environment\n   |-- run.py                               # Start the app - WSGI gateway\n   |\n   |-- ************************************************************************\n```\n\n\u003cbr /\u003e\n\n## ✅ [PRO Version](https://appseed.us/product/material-dashboard2-pro/flask/)\n\n\u003e For more components, pages, and priority on support, feel free to take a look at this amazing starter:\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`.\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![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---\n[Light Bootstrap Flask](https://appseed.us/product/light-bootstrap-dashboard/flask/) - Open-source starter generated by **[App Generator](https://appseed.us/generator/)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fflask-light-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fflask-light-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fflask-light-bootstrap/lists"}