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

https://github.com/app-generator/flask-dashboard-argon-pro

Flask Dashboard - Argon Design PRO | AppSeed App Generator
https://github.com/app-generator/flask-dashboard-argon-pro

admin-dashboard appseed commercial flask-dashboard web-app-generator

Last synced: about 1 month ago
JSON representation

Flask Dashboard - Argon Design PRO | AppSeed App Generator

Awesome Lists containing this project

README

        

# [Flask Argon PRO](https://appseed.us/product/argon-dashboard-pro/flask/)

Admin Dashboard generated by the AppSeed platform in **Flask Framework** on top of [Argon Dashboard PRO](https://appseed.us/product/argon-dashboard-pro/flask/), a modern Bootstrap 4 dashboard template. The Flask codebase is provided with authentication, database, ORM and deployment scripts.

- 👉 [Flask Argon PRO](https://appseed.us/product/argon-dashboard-pro/flask/) - `Product page`
- 👉 [Flask Argon PRO](https://flask-argon-dashboard-pro.appseed-srv1.com/) - `LIVE Demo`
- 👉 [Flask Argon PRO](https://docs.appseed.us/products/flask-dashboards/argon-dashboard-pro/) - `official docs`


> Features

- ✅ UI Kit: [Argon Dashboard PRO](../../content/bootstrap-template/argon-dashboard-pro.mdx) (premium version)
- ✅ DBMS: SQLite, PostgreSQL (production)
- ✅ DB Tools: SQLAlchemy ORM, Flask-Migrate (schema
- ✅ Session-Based authentication (via **flask_login**)


![Flask Argon PRO - Premium Flask Starter](https://user-images.githubusercontent.com/51070104/216622615-0619dfd0-4027-450e-8f75-60cb7ae436ba.png)


## Quick Start in `Docker`

> Download and unzip the code (requires a `purchase`)

```bash
$ unzip flask-dashboard-argon-pro.zip
$ cd flask-dashboard-argon-pro
```

> Start the app in Docker

```bash
$ docker-compose up --build
```

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


## Manual Build

> Download and unzip the code (requires a `purchase`)

```bash
$ unzip flask-dashboard-argon-pro.zip
$ cd flask-dashboard-argon-pro
```

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

> Install modules via `VENV`

```bash
$ virtualenv env
$ source env/bin/activate
$ pip3 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/`.


## Codebase structure

The project is coded using a simple and intuitive structure presented below:

```bash
< PROJECT ROOT >
|
|-- apps/
| |
| |-- home/ # A simple app that serve HTML files
| | |-- routes.py # Define app routes
| |
| |-- authentication/ # Handles auth routes (login and register)
| | |-- routes.py # Define authentication routes
| | |-- models.py # Defines models
| | |-- forms.py # Define auth forms (login and register)
| |
| |-- static/
| | |-- # CSS files, Javascripts files
| |
| |-- templates/ # Templates used to render pages
| | |-- includes/ # HTML chunks and components
| | | |-- navigation.html # Top menu component
| | | |-- sidebar.html # Sidebar component
| | | |-- footer.html # App Footer
| | | |-- scripts.html # Scripts common to all pages
| | |
| | |-- layouts/ # Master pages
| | | |-- base-fullscreen.html # Used by Authentication pages
| | | |-- base.html # Used by common pages
| | |
| | |-- accounts/ # Authentication pages
| | | |-- login.html # Login page
| | | |-- register.html # Register page
| | |
| | |-- home/ # UI Kit Pages
| | |-- index.html # Index page
| | |-- 404-page.html # 404 page
| | |-- *.html # All other 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
|
|-- ************************************************************************
```


---
[Flask Argon PRO](https://appseed.us/product/argon-dashboard-pro/flask/) - Provided by **[AppSeed](https://appseed.us/app-generator)**.