Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/app-generator/flask-datta-able-pro

Flask Dashboard - Datta Able PRO Design | AppSeed
https://github.com/app-generator/flask-datta-able-pro

appseed commercial flask flask-dashboard web-app-ge

Last synced: 3 months ago
JSON representation

Flask Dashboard - Datta Able PRO Design | AppSeed

Awesome Lists containing this project

README

        

# [Datta Able PRO Flask](https://appseed.us/product/datta-able-pro/flask/)

Premium **Flask Dashboard** generated by `AppSeed` op top of a modern design. **[Datta Able PRO](https://appseed.us/generator/datta-able-pro/)** Bootstrap PRO is the most stylised Bootstrap 5 Admin Template, around all other Lite/Free admin templates in the market. It comes with high feature-rich pages and components with fully developer-centric code. Before developing Datta Able our key points were performance and design.

- 👉 [Datta Able PRO Flask](https://flask-datta-pro.onrender.com) - `LIVE demo`
- 👉 [Datta Able PRO Flask](https://appseed.us/product/datta-able-pro/flask/) - `Product Page`

## ✅ **Features**

- `Up-to-date dependencies`
- Apps
- DataTables
- API
- Charts
- Media Files Manager
- `Database`: `SQLite`, MySql
- Silent fallback to `SQLite`
- `DB Tools`: SQLAlchemy ORM, `Flask-Migrate`
- `Authentication`, Session Based
- `Docker`, Page Compression via `Flask-Minify`
- `CI/CD` flow via `Render`

![Datta Able PRO - Full-Stack Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/170474361-a58da82b-fff9-4a59-81a8-7ab99f478f48.png)


## Start in `Docker`

> 👉 Unzip sources or clone the private repository (requires a [purchase](https://appseed.us/product/datta-able-pro/flask/))

```bash
$ unzip flask-datta-able-pro.zip
// OR
$ git clone https://github.com/app-generator/priv-flask-datta-able-pro.git
$ cd priv-flask-datta-able-pro
```


> Start the APP in `Docker`

```bash
# Optional (kill all existing containers)
$ docker container kill $(docker ps -q) ; docker container rm $(docker ps -a -q) ; docker network prune -f
# Start the APP
$ docker-compose up --build
```

Visit `http://localhost:5085` in your browser. The app should be up & running.

- Default User: `test` / `[email protected]` / `pass` (the password)

Authenticated users can access all apps and pages.


## `Manual Build`

### 👉 Set Up for `Unix`, `MacOS`

> Install modules via `VENV`

```bash
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
```


> Set Up Flask Environment

```bash
$ export FLASK_APP=run.py
$ export FLASK_ENV=development
```


> Start the app

```bash
$ flask run
```

At this point, the app runs at `http://127.0.0.1:5000/`.


### 👉 Set Up for `Windows`

> Install modules via `VENV` (windows)

```
$ virtualenv env
$ .\env\Scripts\activate
$ pip3 install -r requirements.txt
```


> Set Up Flask Environment

```bash
$ # CMD
$ set FLASK_APP=run.py
$ set FLASK_ENV=development
$
$ # Powershell
$ $env:FLASK_APP = ".\run.py"
$ $env:FLASK_ENV = "development"
```


> Start the app

```bash
$ flask run
```

At this point, the app runs at `http://127.0.0.1:5000/`.


### 👉 Create Users

By default, the app redirects guest users to authenticate. In order to access the private pages, follow this set up:

- Start the app via `flask run`
- Access the `registration` page and create a new user:
- `http://127.0.0.1:5000/register`
- Access the `sign in` page and authenticate
- `http://127.0.0.1:5000/login`


## ✅ Codebase

The project has a simple, intuitive structure presented bellow:

```bash
< PROJECT ROOT >
|
|-- apps/
| |
| |-- home/ # A simple app that serve HTML files
| |-- authentication/ # Handles auth routes (login and register)
| |-- charts/ # Showcase the sales information in Charts
| |-- tables/ # Showcase the sales information in dataTables
| |
| |-- static/
| | |-- # CSS files, Javascripts files
| |
| |-- templates/ # Templates used to render pages
| | |-- includes/ # HTML chunks and components
| | |-- layouts/ # Master pages
| | |-- accounts/ # Authentication pages
| | |-- pages/ # UI Kit Pages
| |
| config.py # Set up the app
| __init__.py # Initialize the app
|
|-- requirements.txt # App Dependencies
|
|-- .env # Inject Configuration via Environment
|-- run.py # Start the app - WSGI gateway
|
|-- ************************************************************************
```

---
[Datta Able PRO](https://appseed.us/generator/datta-able-pro/) Flask - Starter provided by **[AppSeed](https://appseed.us)**.