DEV Community

Cover image for Flask React Soft Dashboard - Free Project
Sm0ke
Sm0ke

Posted on • Originally published at blog.appseed.us

Flask React Soft Dashboard - Free Project

Hello Coders!

This article presents an open-source full-stack project that uses a react Material-UI React design powered by a simple Flask API Server. Flask React Soft can be downloaded from Github without a registration lock and used for commercial projects or eLearning activities. For newcomers, Flask is a leading framework powered by Python and React is a popular JS library for coding user interfaces baked by Facebook.

Thanks for reading!


Soft UI Dashboard React is built with over 70 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.


✨ Product Features

  • Innovative Material UI Design - Crafted by Creative-Tim
  • React, Redux, Redux-persist
  • Authentication: JWT Login/Register/Logout
  • Full-Stack ready via a simple Flask API
  • Docker support for API part
  • SQLite persistence, Flask-RestX
  • Up-to-date dependencies

The product is built using a two-tier pattern where the React frontend is decoupled logically and physically from the API backend. In order to start the product in a local environment, we need to type a short-list with commands in the terminal window:

  • 👉 Clone/download product sources
  • 👉 Compile and start the API using a manual build or Docker
  • 👉 Test the API using cURL or POSTMAN (optional)
  • 👉 Compile and start the React UI
  • 👉 Register users and authenticate

The frontend and the backend should be started from different terminal windows.


✨ Start the API Server

This free product is a simple API starter enhanced with JWT authentication, SqlAlchemy, SQLite persistence and deployment scripts via Docker. It has all the ready-to-use bare minimum essentials and can be extended with ease.

Clone/Download sources from Github

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

Start API - via Docker

$ cd flask-api
$ docker-compose up --build
$
$ # API is up on port 5000
Enter fullscreen mode Exit fullscreen mode

Once the commands are executed, we should be able to access the API and create users. POSTMAN is a popular tool for this operation but we can use a command-line tool like cURL as well.


Flask React Soft - API Call via POSTMAN.


✨ Start the React UI

Soft UI Dashboard is compatible with multiple NodeJS versions (12.x, 14.x, 16.x) and we can compile and start the product with a single command:

$ cd react-ui
$ yarn         # install modules
$ yarn start   # start the app
$
$ # React UI is up on port 3000
Enter fullscreen mode Exit fullscreen mode

Once the UI is visible in the browser, we can register new users, authenticate and interact with all private pages.


Flask React Soft - Login Page.


Flask React Soft - Charts & Widgets

Flask React Soft - Charts Page


Flask React Soft - User profile

Flask React Soft - Profile Page.


In case Flask is not your preferred backend server, the react frontend can be also used with NodeJS, Laravel or Django (all free).


Thanks for reading! For more resources, feel free to access:


Discussion (7)

Collapse
andrewbaisden profile image
Andrew Baisden

Nice great to see a React project combined with a Python backend for once.

Collapse
sm0ke profile image
Sm0ke Author

Thanks for reading!

The Django Version is also available:
github.com/app-generator/django-re...

🚀🚀

Collapse
uithemes profile image
ui-themes

Thank you! Charts are implemented?

Collapse
sm0ke profile image
Sm0ke Author

Only the authentication is usable but the project can be extended with ease.
🚀🚀

Collapse
uithemes profile image
ui-themes

Noted ..

Collapse
crearesite profile image
WebsiteMarket

Great project

Collapse
sm0ke profile image
Sm0ke Author

🚀🚀