DEV Community

loading...
Cover image for Soft UI Dashboard - Open-source Flask Starter

Soft UI Dashboard - Open-source Flask Starter

sm0ke profile image Sm0ke ใƒป2 min read

Hello Coders,

This article presents an open-source Flask starter that might help beginners to start faster a new project and reuse a codebase already enhanced with database, authentication and deployment scripts on top of a modern UI Kit: Soft UI Dashboard. The product can be downloaded from Github and used for hobby and commercial products.

Thanks for reading! - Content provided by App Generator.



Soft UI Dashboard - Billing Page.


Soft UI Dashboard is an open-source Bootstrap 5 template released under the MIT License (free for commercial use) by Creative-Tim agency. The product is built with over 70 frontend individual elements, like buttons, inputs, navbars, navtabs, cards or alerts, giving you the freedom of choosing and combining. All components can take variations in color, that you can easily modify using SASS files and classes.

Example Pages - If you want to get inspiration or just show something directly to your clients, you can jump-start your development with our pre-built example pages. You will be able to quickly set up the basic structure for your web project.

  • Authentication Pages: Login and Register
  • Utility pages: User Profile, Billing page
  • RTL Support: YES.

Soft UI Dashboard - Login Page.


How to compile the code

To compile this Flask starter in a local environment a minimal programming kit must be already installed and all tools accessible in the terminal.

  • Nodejs - version 10.x or above
  • Yarn - a smart package manager for Node
  • GIT - versioning command-line tool
  • Gulp - toolkit automation
  • Python3 - the interpreter

Some of the above tools are optional but recommended. Once we have the environment ready, we can move on and compile the project using the build instructions provided in the README file.


Step #1 - Clone/download sources

$ git clone https://github.com/app-generator/flask-soft-ui-dashboard.git
$ cd flask-soft-ui-dashboard
Enter fullscreen mode Exit fullscreen mode

Step #2 - Install dependencies

$ virtualenv env
$ source env/bin/activate
$
$ # Install modules - SQLite Database
$ pip3 install -r requirements.txt
Enter fullscreen mode Exit fullscreen mode

Step #3 - Set up environment variables

$ # Set the FLASK_APP environment variable
$ export FLASK_APP=run.py
$
$ # Set up the DEBUG environment
$ export FLASK_ENV=development 
Enter fullscreen mode Exit fullscreen mode

Step #4 - Start the application via Flask embedded server

$ flask run
$
$ # Access the dashboard in browser: http://127.0.0.1:5000/
Enter fullscreen mode Exit fullscreen mode

By default, the app will route guest users to the login page to authenticate. To pass the login please create a new user first.


Soft UI Dashboard - RTL Support.


Thanks for reading! For more resources, please access:

Discussion (5)

Collapse
crearesite profile image
WebsiteMarket

Really nice UI!

Collapse
sm0ke profile image
Sm0ke Author

Creative-Tim's work - I'm just the messenger. :)

Collapse
rakesh_nakrani profile image
Rakesh S Nakrani

Clean work. Thanks for sharing.

Collapse
uithemes profile image
ui-themes

Thanks for sharing!

Collapse
sm0ke profile image
Forem Open with the Forem app