-
Hi guys, It is really a newbie question, but I need to ask it because I am confused about how to start with rocket. Do you have advices to build a UI using rocket ? Are there some facilities (some plugins) to build a crud admin interface, for example like in django or symfony ? Do you know about some resources that could help me learn well ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @trya2l , my impression/experience with Rocket is that it's not really a frontend framework. I'm using it to build a large API, and it's fantastic for that, but you'll need a different framework to generate markup, styling and scripting for your UI. Personally, I'm using Next.js for that, but there are plenty of other solutions out there too, and I hear there are some decent ones in Rust coming along. If you want to run your UI code from Rocket directly, you'll either need to hard-code it into Rocket's route functions or call your UI framework from those functions. FWIW, the above is just my opinion & based on ~6 months experience with Rocket and I'm happy if someone with more perspective or insight can tell us that I'm wrong. |
Beta Was this translation helpful? Give feedback.
Hi @trya2l , my impression/experience with Rocket is that it's not really a frontend framework. I'm using it to build a large API, and it's fantastic for that, but you'll need a different framework to generate markup, styling and scripting for your UI. Personally, I'm using Next.js for that, but there are plenty of other solutions out there too, and I hear there are some decent ones in Rust coming along.
If you want to run your UI code from Rocket directly, you'll either need to hard-code it into Rocket's route functions or call your UI framework from those functions.
FWIW, the above is just my opinion & based on ~6 months experience with Rocket and I'm happy if someone with more perspect…