Skip to content

app-generator/flask-berry-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

83995d7 Β· May 10, 2024

History

66 Commits
Jan 6, 2023
Dec 13, 2022
Dec 13, 2022
Jan 6, 2023
Jan 6, 2023
Mar 9, 2024
Dec 22, 2022
Dec 13, 2022
May 10, 2024
Dec 22, 2022
Dec 22, 2022
Dec 22, 2022
Dec 13, 2022
Dec 13, 2022
Jan 2, 2023
Dec 22, 2022
Dec 17, 2022

Repository files navigation

Open-source Flask Dashboard project crafted on top of Berry, an open-source Bootstrap 5 design from CodedThemes. The product is designed to deliver the best possible user experience with highly customizable feature-rich pages. Berry has an easy and intuitive responsive design whether it is viewed on retina screens or laptops.


Features

Have questions? Contact Support (Email & Discord) provided by AppSeed

Free Version PRO Version Custom Development
βœ“ Up-to-date dependencies Everything in Free, plus: Everything in PRO, plus:
βœ“ Best Practices βœ… Premium Bootstrap 5 Design βœ… 1mo Custom Development
βœ“ DB: SQLite, MySql βœ… PRO Support - Email & Discord βœ… Team: PM, Developer, Tester
βœ“ DB Tools: ORM, Flask-Migrate βœ… Private REPO Access βœ… Weekly Sprints
βœ“ Session-Based authentication - βœ… Technical SPECS
βœ“ Docker - βœ… Documentation
βœ“ CI/CD Flow via Render - βœ… 30 days Delivery Warranty
βœ“ Free Support - -
--------------------------------- --------------------------------- ---------------------------------
βœ“ LIVE Demo πŸš€ LIVE Demo PRO πŸ›’ Order: $3,999 (GUMROAD)

Berry Bootstrap 5 - Dark-Mode ready, Open-source Template.


✨ Start the app in Docker

πŸ‘‰ Step 1 - Download the code from the GH repository (using GIT)

$ git clone https://github.com/app-generator/flask-berry-dashboard.git
$ cd flask-berry-dashboard

πŸ‘‰ Step 2 - Start the APP in Docker

$ docker-compose up --build 

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


✨ How to use it

Download the code

$ git clone https://github.com/app-generator/flask-berry-dashboard.git
$ cd flask-berry-dashboard

πŸ‘‰ Set Up for Unix, MacOS

Install modules via VENV

$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt

Set Up Flask Environment

Edit .env using env.sample or simply export the variables in the environment. Here are the expected values:

  • DEBUG: controls the Development, Production mode
    • Default False (production)
  • FLASK_APP=run.py: mandatory (APP entry point)
  • SECRET_KEY: optional, random value used if not provided
  • DB credentials
    • Note: if NOT provided, or wrong values, SQLite is used
    • DB_ENGINE, DB_HOST, DB_NAME ...
  • CDN_DOMAIN: disabled by default
    • Used only when DEBUG=False (production mode)

Start the app

$ 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

Edit .env using env.sample or simply export the variables in the environment. Here are the expected values:

  • DEBUG: controls the Development, Production mode
    • Default False (production)
  • FLASK_APP=run.py: mandatory (APP entry point)
  • SECRET_KEY: optional, random value used if not provided
  • DB credentials
    • Note: if NOT provided, or wrong values, SQLite is used
    • DB_ENGINE, DB_HOST, DB_NAME ...
  • CDN_DOMAIN: disabled by default
    • Used only when DEBUG=False (production mode)

Start the app

$ flask run

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


✨ Code-base structure

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
   |         |    |-- 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
   |         |
   |         |-- home/                     # UI Kit Pages
   |              |-- index.html           # default page
   |              |-- page-404.html        # 404 error page
   |              |-- *.html               # Used by common pages like index, UI
   |
   |-- requirements.txt
   |
   |-- run.py
   |
   |-- ************************************************************************

Screenshots

Berry Bootstrap 5 - Sign IN, Open-source Starter by AppSeed.


Flask Berry Bootstrap 5 - Icons Page

Berry Bootstrap 5 - UI Icons page, Open-source Starter by AppSeed


Flask Berry Bootstrap 5 - Colors page

Berry Bootstrap 5 - Colors page, Open-source Starter by AppSeed



Flask Berry Bootstrap 5 - Minimal Flask starter provided by AppSeed