DioxusLabs / dioxus

Fullstack GUI library for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
18.67k stars 711 forks source link

Database integrations #1998

Open ealmloff opened 2 months ago

ealmloff commented 2 months ago

Specific Demand

Currently dioxus fullstack requires a lot of boilerplate to set up a database. Dioxus should provide integration for different databases that make it easier to get started with storage

Implement Suggestion

There are a few different directions we could go here:

ochrons commented 3 weeks ago

I would prefer focusing on good documentation and examples, without doing any code level support for databases in Dioxus. The database is a very orthogonal concern to UI building, so it should not be in Dioxus' scope.

As long as utilizing DB drivers can be done in a similar fashion to any other Rust app (like Axum web server), it should be good enough.