{"repo":"oxide-byte/rust-berlin-leptos","free":true,"listed":false,"github":"https://github.com/oxide-byte/rust-berlin-leptos","clone":"git clone https://github.com/oxide-byte/rust-berlin-leptos.git","description":"Rust Hack and Learn in Berlin Challenge to implement a Site in as many Frameworks as possible. This implementation is : Leptos - Axum - SurrealDB - GraphQL (Bonus: Keycloak + Ratatui)","language":"Rust","stars":15,"topics":["leptos","rust","graphql-client","graphql-server","surrealdb","wasm","graphql","graphql-subscriptions","salt","ratatui"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Rust - Berlin Hack and Learn Challenge Purpose This implementation is a adaptation of the Rust UserGroup Rust Hack and Learn Berlin challenge: https://github.com/andreasklostermaier/halreslib in different Frameworks. My choice Leptos as Frontend. Link to the meetup group: https://berline.rs/ Even whe most of features are implemented and functional, there is still room for progress... Implementation SALT = (S)urrealDB (A)xum (L)eptos (T)ailwind + GraphQL The Frameworks in use: Frontend: Leptos 0.8.14 Thaw 0.5.0-Beta Tailwind 4.0 GraphQL Query + Mutation + Subscription Backend: Axum 0.8.3 Tower 0.5.2 (Static Page Server) async-graphql (GraphQL) Database: SurrealDB Installation / Preparation Rust: https://www.rust-lang.org/tools/install Trunk: https://trunkrs.dev/guide/getting-started/installation.html TailwindCss: https://tailwindcss.com/docs/installation/using-vite PS: For TailwindCss I use the Mac Brew option: Running The implementation uses Trunk to generate and run the Client Side Pages. It includes Hot Reloading Build The files generated in the client folder /dist can be moved on the Server side to the folder /static. To access to the files from Axum you need to manually adapt in the index.html file the relative path for the links as the wasm file: Example: href=\"rust-berlin-leptos-7a6a9f219c87d073.js\" -- href=\"/web/rust-berlin-leptos-7a6a9f219c87d073.js\" Starting the Backend: The different links on the Backend side: Security There are currently 2 users implemented with Ke","default_branch":null,"files":null,"tree":[],"storefront":"/r/oxide-byte","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oxide-byte/rust-berlin-leptos/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}