-
I am new to Rust (a month or so in), but loving it! I am currently developing an api with graphql for my own project. I was wondering if I can use the crate I was thinking about using svelte for my front-end, but now I am more leaning towards Leptos. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
So, I've never used You could use |
Beta Was this translation helpful? Give feedback.
-
As it happens, I'm just starting my project to re-do an app with all rust (front/back ends) and switching to GraphQL in place of GRPC in the process. I started with Leptos a couple of days back for the frontend and have just (as of today) succeeded in setting the basic plumbing for the GraphQL connection. Basically, I'm using async-graphql and async-graphql-axum (I'm using Axum, but there are extensions for other frameworks on the async-graphql GitHub page). On the client side, I added graphql_client and graphql_query_derive (for helper code). The GraphQL part itself is straightforward, but the biggest problem I've had so far was with using Leptos to make the async calls.
|
Beta Was this translation helpful? Give feedback.
As it happens, I'm just starting my project to re-do an app with all rust (front/back ends) and switching to GraphQL in place of GRPC in the process. I started with Leptos a couple of days back for the frontend and have just (as of today) succeeded in setting the basic plumbing for the GraphQL connection.
Basically, I'm using async-graphql and async-graphql-axum (I'm using Axum, but there are extensions for other frameworks on the async-graphql GitHub page). On the client side, I added graphql_client and graphql_query_derive (for helper code). The GraphQL part itself is straightforward, but the biggest problem I've had so far was with using Leptos to make the async calls.