This article presents a simple, open-source Flask starter built on top of CoreUI a modern material-based design. The product, generated by AppSeed, can be downloaded directly from Github and used for free in hobby and commercial projects. For newcomers, CoreUI is a free Bootstrap dashboard template actively supported and versioned by CoreUI agency aith more than 10k stars on Github.
Thanks for reading! TL;DR;
- (Free) CoreUI Flask - the product page hosted on AppSeed
- (Free) CoreUI Flask Demo - the LIVE deployment of this simple starter
- CoreUI - the original, HTML version (also free)
CoreUI Design Features
This modern UI provides modern widgets, a beautiful typography and a rich UI set even in the FREE version. Here is a short list with features that makes CoreUI an unique project:
Bootstrap Based - CoreUI Admin Panel is 100% compatible with Bootstrap, so if you are familiar with Bootstrap but you demand something more than it provides, then CoreUI Admin Panel is an answer.
Responsive, Cross-Browser Compatibility - CoreUI's responsive components save you let you save thousands of dollars on cross browsers tests.
CoreUI - Widgets Page
CoreUI - Login Page
Core UI - More Widgets
CoreUI - Flask Codebase
The project can be compiled and started locally with ease. We need a properly set up Python3 environment and (optionally) GIT versioning command tool to be accessible in the terminal. The set up, extracted from the README file consist in three simple steps:
1# - Clone/download the sources
$ # Get the code $ git clone https://github.com/app-generator/flask-dashboard-coreui.git $ cd flask-dashboard-coreui
2# - Install modules (aka dependencies)
$ # Virtualenv modules installation (Unix based systems) $ virtualenv env $ source env/bin/activate $ $ # Install modules - SQLite Database $ pip3 install -r requirements.txt
3# - Set up environment and start CoreUI Flask
$ # Set the FLASK_APP environment variable $ export FLASK_APP=run.py $ $ # Start the application (development mode) $ flask run $ $ # Access the dashboard in browser: http://127.0.0.1:5000/
Once the application is accessible in the browser, we need to create a new user and register - there is no default user provided in the initial set up.
- DBMS: SQLite, PostgreSQL (production)
- DB Tools: SQLAlchemy ORM, Alembic (schema migrations)
- Modular design with Blueprints, simple codebase
- Session-Based authentication (via flask_login), Forms validation
- Deployment scripts: Docker, Gunicorn / Nginx, Heroku
The project can be deployed on HEROKU, and also started inside a Docker container.
Thanks for reading! For more resources, please access: