jbertovic / svelte-axum-project Goto Github PK
View Code? Open in Web Editor NEWStarting project template for Rust Axum backend and Svelte frontend
License: Mozilla Public License 2.0
Starting project template for Rust Axum backend and Svelte frontend
License: Mozilla Public License 2.0
Hi,
Was just reading your code for learning purposes, it occurs to me that you can replace the backend with https://loco.rs
You get a full authentication workflow (JWT based for free as well)
Give it a try! ❤️
Give it a refresh by updating to latest versions and migration to svelte 4. Not sure what is needed yet, but will see when I increment the version of dependencies.
Hi,
I think axum-login will simplify the code a bit. It is agnostic to storage. Right now, it depends on axum-sessions, but I see they are working on migrating to tower-sessions. When they migrate, I could switch it over.
Does this sound like a good idea?
Axum has a ECOSYSTEM.md file collecting community resources around axum. Might be nice to add this template here to the file?
WIP: tokio-rs/axum#1212
Hi folks,
I'm the author of axum-sessions, which is a crate I see you all are using--I'm glad to see you've found it useful!
Over the course of the last year or so we've hit some roadblocks with our key dependency, async-session. The long and short of that is in order to unblock that and address some problems with axum-sessions's design, we've released a new crate which aims to replace axum-sessions: tower-sessions.
tower-sessions no longer relies on a third-party crate for its session implementation and this has allowed us to change its design to better fit tower and the broader tower ecosystem (i.e. axum). For instance, we no longer need writable and readable sessions, and have simplified the interface as a result.
I'd be curious if there's interest in migrating and am happy to help if so.
Hi,
I want to ask if it is possible to modify the HTML in Axum before returning it to the user.
My basic use case is that I want to add the HTML meta tags for the Open Graph for each page.
If I serve the Svelte page from assets folder then all pages are the same.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.