loco-rs / loco

🚂 🦀 The one-person framework for Rust for side-projects and startups
https://loco.rs
Apache License 2.0
4.81k stars 188 forks source link

Admin site #819

Open alper opened 2 days ago

alper commented 2 days ago

Hi! I think a lot of people want to know whether an autogenerated admin site is in the cards for this. It's a huge feature that makes a lot of difference when getting something off the ground.

(A lot of the views on the site I'm working on right now would have been unnecessary if there had been something of an admin).

jondot commented 2 days ago

You're correct. the big question is, what UI to use on the admin. API and backend is really not a problem. We would need 2 things:

  1. UI that is flexible and can map into types and data structs
  2. A way to describe (probably because this is Rust, in compile time) the data contracts so that the UI can be generated from it