5 ms·
Great post. I'd love to see one talking about building a full stack app using Yew and Actix (or Rocket). And good ways of sharing types between the frontend an
by praveenperera 6y ago
Great post.
I'd love to see one talking about building a full stack app using Yew and Actix (or Rocket). And good ways of sharing types between the frontend and the backend.
- deleted 6y ago[deleted]
- rkwz 6y agoThank you! The sharing common types and logic is pretty easy using cargo workspaces, will include this in future posts :)
- praveenperera 6y agoAwesome! I think it would also be cool to explore alternatives to REST with JSON for a full stack Rust app.
- gameswithgo 6y agoI have a hobby project where I am serializing everything to bincode with serde, and communicating with my own protocol over websockets. its quite nice! Rust's enums make this kind of serialization and communication super easy.
- praveenperera 6y agoThat sounds very interesting. Do you have a public repo I could check out?
- areille 6y agoYou should have a look to this project built with actix, diesel and yew: https://github.com/saschagrunert/webapp.rs https://github.com/saschagrunert/webapp.rs
- praveenperera 6y agoThis is great. Thank you!
- gameswithgo 6y agosharing types you just have a shared lib. don’t have to do anything special. and you can serialize them easily with serde