Coder Social home page Coder Social logo

jbertovic / svelte-axum-project Goto Github PK

View Code? Open in Web Editor NEW
130.0 5.0 12.0 2.17 MB

Starting project template for Rust Axum backend and Svelte frontend

License: Mozilla Public License 2.0

HTML 1.62% JavaScript 8.05% Rust 45.02% Svelte 35.13% CSS 4.39% Shell 5.79%
axum backend rust svelte

svelte-axum-project's People

Contributors

ijusterikk avatar jbertovic avatar maxcountryman avatar simonsan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

svelte-axum-project's Issues

Consider loco.rs?

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! ❤️

Move to axum-login once it supports tower-sessions

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?

Consider if migrating to `tower-sessions` is appropriate

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.

Server Rendering In Axum

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.