Datta Able Flask/Jinja
Open-source Flask/Jinja Template generated by App-Generator
op top of Datta Able a modern Bootstrap design. The project is a super simple Flask project
WITHOUT database, ORM, or any other hard dependency. The project can be used as a codebase for future project or to migrate the Jinja files and assets to a legacy Python-based project that uses Jinja as template engine (Flask, Bottle, Django).
- 👉 Datta Able Flask - Product page
- 🛒 Datta Able Flask PRO -
Premium Version
Features
- ✅
Up-to-date dependencies
- ✅ Render Engine: Flask / Jinja2
- ✅
Docker
👉 Step 1 - Download the code from the GH repository (using
GIT
)
$ git clone https://github.com/app-generator/jinja-datta-able.git
$ cd jinja-datta-able
👉 Step 2 - Start the APP in
Docker
$ docker-compose up --build
Visit http://localhost:5085
in your browser. The app should be up & running.
Download the code
$ git clone https://github.com/app-generator/jinja-datta-able.git
$ cd jinja-datta-able
Install modules via
VENV
$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt
Set Up Flask Environment
$ export FLASK_APP=run.py
$ export FLASK_ENV=development
Start the app
$ flask run
At this point, the app runs at http://127.0.0.1:5000/
.
Install modules via
VENV
(windows)
$ virtualenv env
$ .\env\Scripts\activate
$ pip3 install -r requirements.txt
Set Up Flask Environment
$ # CMD
$ set FLASK_APP=run.py
$ set FLASK_ENV=development
$
$ # Powershell
$ $env:FLASK_APP = ".\run.py"
$ $env:FLASK_ENV = "development"
Start the app
$ flask run
At this point, the app runs at http://127.0.0.1:5000/
.
The project has a simple, intuitive structure presented bellow:
< PROJECT ROOT >
|
|-- apps/__init__.py
|-- apps/
| |-- static/
| | |-- <css, JS, images> # CSS files, Javascripts files
| |
| |-- templates/
| |
| |-- includes/ # Page chunks, components
| | |
| | |-- navigation.html # Top bar
| | |-- sidebar.html # Left sidebar
| | |-- scripts.html # JS scripts common to all pages
| | |-- footer.html # The common footer
| |
| |-- layouts/ # App Layouts (the master pages)
| | |
| | |-- base.html # Used by common pages like index, UI
| | |-- base-fullscreen.html # Used by auth pages (login, register)
| |
| index.html # The default page
| page-404.html # Error 404 page (page not found)
| page-500.html # Error 500 page (server error)
| *.html # All other pages provided by the UI Kit
|
|-- requirements.txt
|
|-- run.py
|
|-- ************************************************************************
The premium version provides more features, priority on support, and is more often updated - Live Demo.
- Simple, Easy-to-Extend Codebase
- Berry PRO Design - Bootstrap 5 Design
- Extended User Profiles
- Charts
- DataTables: Server-side Pagination, Search, Filters, Export
- API
- File Manager
- Celery (async tasks)
- Docker
- Deployment-Ready for Render
Flask Datta Able - Open-Source Flask/Jinja Starter provided by App Generator