{"id":16175095,"url":"https://github.com/app-generator/flask-star-admin-pro","last_synced_at":"2025-10-06T11:09:54.256Z","repository":{"id":100502989,"uuid":"253173778","full_name":"app-generator/flask-star-admin-pro","owner":"app-generator","description":"Flask Dashboard - Star Admin PRO Design | AppSeed","archived":false,"fork":false,"pushed_at":"2022-04-01T07:20:05.000Z","size":1577,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-22T10:52:45.861Z","etag":null,"topics":["appseed","flask","star-admin"],"latest_commit_sha":null,"homepage":"https://appseed.us/admin-dashboards/flask-dashboard-staradmin-pro","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":"2020-04-05T06:52:08.000Z","updated_at":"2023-06-13T03:23:16.000Z","dependencies_parsed_at":"2023-05-15T11:15:42.223Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/flask-star-admin-pro","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/app-generator/flask-star-admin-pro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-star-admin-pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-star-admin-pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-star-admin-pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-star-admin-pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/flask-star-admin-pro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-star-admin-pro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278598620,"owners_count":26013291,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"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":["appseed","flask","star-admin"],"created_at":"2024-10-10T04:44:07.854Z","updated_at":"2025-10-06T11:09:54.235Z","avatar_url":"https://github.com/app-generator.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Flask Star Admin PRO](https://appseed.us/admin-dashboards/flask-dashboard-staradmin-pro)\n\n`Admin dashboard` generated by AppSeed in **Flask** Framework. Designed based on the Bootstrap framework, **[Star Admin PRO](https://appseed.us/admin-dashboards/flask-dashboard-staradmin-pro)** is a powerful, feature-rich, and super flexible admin dashboard template. It serves as the perfect starting point for both simple and complex web development projects. It features a well-designed dashboard with several neatly arranged components and essential elements.\n\n\u003cbr /\u003e\n\n\u003e Features\n\n- `Up-to-date dependencies`: **Flask 2.0.1**\n- [SCSS compilation](#recompile-css) via **Gulp**\n- DBMS: SQLite, PostgreSQL (production) \n- DB Tools: SQLAlchemy ORM, Flask-Migrate (schema migrations)\n- Modular design with **Blueprints**, simple codebase\n- Session-Based authentication (via **flask_login**), Forms validation\n- Deployment scripts: Docker, Gunicorn / Nginx, Heroku\n- Support via **Github** and [Discord](https://discord.gg/fZC6hup).\n\n\u003cbr /\u003e\n\n\u003e Links\n\n- [Flask Star Admin PRO](https://appseed.us/admin-dashboards/flask-dashboard-staradmin-pro) - product page\n- [Flask Star Admin PRO](https://flask-star-admin-pro.appseed-srv1.com/) - LIVE Demo\n\n\u003cbr /\u003e\n\n## Quick Start in [Docker](https://www.docker.com/)\n\n\u003e Get the code\n\n```bash\n$ git clone https://github.com/app-generator/priv-flask-star-admin-pro.git\n$ cd priv-flask-star-admin-pro\n```\n\n\u003e Start the app in Docker\n\n```bash\n$ docker-compose pull   # download dependencies \n$ docker-compose build  # local set up\n$ docker-compose up -d  # start the app \n```\n\nVisit `http://localhost:85` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n![Flask Star Admin PRO - Open-Source template project provided by AppSeed.](https://github.com/app-generator/flask-star-admin-pro/blob/master/media/flask-star-admin-pro-screen.png)\n\n\u003cbr /\u003e\n\n## How to use it\n\n```bash\n$ # Get the code\n$ git clone https://github.com/app-generator/priv-flask-star-admin-pro.git\n$ cd priv-flask-star-admin-pro\n$\n$ # Virtualenv modules installation (Unix based systems)\n$ virtualenv env\n$ source env/bin/activate\n$\n$ # Virtualenv modules installation (Windows based systems)\n$ # virtualenv env\n$ # .\\env\\Scripts\\activate\n$\n$ # Install modules - SQLite Database\n$ pip3 install -r requirements.txt\n$\n$ # OR with PostgreSQL connector\n$ # pip install -r requirements-pgsql.txt\n$\n$ # Set the FLASK_APP environment variable\n$ (Unix/Mac) export FLASK_APP=run.py\n$ (Windows) set FLASK_APP=run.py\n$ (Powershell) $env:FLASK_APP = \".\\run.py\"\n$\n$ # Set up the DEBUG environment\n$ # (Unix/Mac) export FLASK_ENV=development\n$ # (Windows) set FLASK_ENV=development\n$ # (Powershell) $env:FLASK_ENV = \"development\"\n$\n$ # Start the application (development mode)\n$ # --host=0.0.0.0 - expose the app on all network interfaces (default 127.0.0.1)\n$ # --port=5000    - specify the app port (default 5000)  \n$ flask run --host=0.0.0.0 --port=5000\n$\n$ # Access the dashboard in browser: http://127.0.0.1:5000/\n```\n\n\u003e Note: To use the app, please access the registration page and create a new user. After authentication, the app will unlock the private pages.\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 below:\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   |-- requirements-mysql.txt               # Production modules  - Mysql DMBS\n   |-- requirements-pqsql.txt               # Production modules  - PostgreSql DMBS\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## Recompile CSS\n\nTo recompile SCSS files, follow this setup:\n\n\u003cbr /\u003e\n\n**Step #1** - Install tools\n\n- [NodeJS](https://nodejs.org/en/) 12.x or higher\n- [Gulp](https://gulpjs.com/) - globally \n    - `npm install -g gulp-cli`\n- [Yarn](https://yarnpkg.com/) (optional) \n\n\u003cbr /\u003e\n\n**Step #2** - Change the working directory to `assets` folder\n\n```bash\n$ cd apps/static/assets\n```\n\n\u003cbr /\u003e\n\n**Step #3** - Install modules (this will create a classic `node_modules` directory)\n\n```bash\n$ npm install\n// OR\n$ yarn\n```\n\n\u003cbr /\u003e\n\n**Step #4** - Edit \u0026 Recompile SCSS files \n\n```bash\n$ gulp scss\n```\n\nThe generated file is saved in `static/assets/css` directory.\n\n\u003cbr /\u003e\n\n## Deployment\n\nThe app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Heroku](https://www.heroku.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).\n\n\n### [Heroku](https://www.heroku.com/)\n---\n\nSteps to deploy on **Heroku**\n\n- [Create a FREE account](https://signup.heroku.com/) on Heroku platform\n- [Install the Heroku CLI](https://devcenter.heroku.com/articles/getting-started-with-python#set-up) that match your OS: Mac, Unix or Windows\n- Open a terminal window and authenticate via `heroku login` command\n- Clone the sources and push the project for LIVE deployment\n\n```bash\n$ # Clone the source code:\n$ git clone https://github.com/app-generator/priv-flask-star-admin-pro.git\n$ cd priv-flask-star-admin-pro\n$\n$ # Check Heroku CLI is installed\n$ heroku -v\nheroku/7.25.0 win32-x64 node-v12.13.0 # \u003c-- All good\n$\n$ # Check Heroku CLI is installed\n$ heroku login\n$ # this commaond will open a browser window - click the login button (in browser)\n$\n$ # Create the Heroku project\n$ heroku create\n$\n$ # Trigger the LIVE deploy\n$ git push heroku master\n$\n$ # Open the LIVE app in browser\n$ heroku open\n```\n\n\u003cbr /\u003e\n\n### [Gunicorn](https://gunicorn.org/)\n---\n\nGunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.\n\n\u003e Install using pip\n\n```bash\n$ pip install gunicorn\n```\n\u003e Start the app using gunicorn binary\n\n```bash\n$ gunicorn --bind 0.0.0.0:8001 run:app\nServing on http://localhost:8001\n```\n\nVisit `http://localhost:8001` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n### [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/)\n---\n\nWaitress (Gunicorn equivalent for Windows) is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones that live in the Python standard library.\n\n\u003e Install using pip\n\n```bash\n$ pip install waitress\n```\n\u003e Start the app using [waitress-serve](https://docs.pylonsproject.org/projects/waitress/en/stable/runner.html)\n\n```bash\n$ waitress-serve --port=8001 run:app\nServing on http://localhost:8001\n```\n\nVisit `http://localhost:8001` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n## Credits \u0026 Links\n\n- [Flask Framework](https://www.palletsprojects.com/p/flask/) - The offcial website\n- [Boilerplate Code](https://appseed.us/boilerplate-code) - Index provided by **AppSeed**\n- [Boilerplate Code](https://github.com/app-generator/boilerplate-code) - Index published on Github\n\n\u003cbr /\u003e\n\n---\n[Flask Star Admin PRO](https://appseed.us/admin-dashboards/flask-dashboard-staradmin-pro) - Provided by **AppSeed** [App Generator](https://appseed.us/app-generator).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fflask-star-admin-pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fflask-star-admin-pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fflask-star-admin-pro/lists"}