Skip to content

Python/ReactPy based clone of the the beautiful Themesberg tailwind-dashboard

Notifications You must be signed in to change notification settings

stevej2608/reactpy-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

69eabe1 · Jan 15, 2025
Jan 14, 2025
Apr 29, 2024
Mar 3, 2024
Jan 15, 2025
Dec 10, 2023
Jan 14, 2025
Jan 14, 2025
Nov 14, 2023
Mar 1, 2024
Jan 14, 2025
Jan 14, 2025
Jan 14, 2025
Jan 15, 2025
Mar 3, 2024
Nov 6, 2023

Repository files navigation

reactpy-dashboard

This project is a port of the Themesberg tailwind-dashboard-windster project to reactpy.

poetry install  --no-root

python app_main.py

python run_dashboard.py

python usage.py runserver --port 8000

uvicorn fast_app:app --port 8000

DONE/TODO

  • Tailwind CSS
  • Fix composite icons
  • Create a modular forms solution
  • Apex chart support
  • Table pagination/search/sort
  • GitHub Stars Button
  • Dark/Light mode switch
  • Update browser address bar on page/parameter change
  • Work out how to access client-side storage
  • Stop the crazy python stack dump when the a user leaves the site.
  • CRUD operations on tables (inc multi-record delete)
  • Figure out why my pytest tests need @pytest.mark.anyio but the ReactPy pytest tests don't

Testing

playwright install

pytest

pytest --headed

Tailwind CSS

During development tailwindcss play is used. Tailwind play generates CSS rules on the fly. They are accumulated, as pages are visited, into a custom style tag. This process a fast and seamless.

You can, if neccecery, create a static CSS file containing all the accumulated rules. To do this you need to copy the content of the tailwind play style tag from a live browser session and dump it to file.

Chrome debug tools are used to dump the style tag to the file:

    ./static/css/tailwind-3.3.5.css

Links

About

Python/ReactPy based clone of the the beautiful Themesberg tailwind-dashboard

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published