During the last few days I’ve been fighting on and off with static site generation and axum (spoiler warning: I won :O).
After a lot of boilerplate and structuring the project now compiles both the frontend and backend, and bundles it into a self-extracting executable with repair mechanics :>
With the help of conditional compiling I’ve also added a reverse proxy during debug-profile builds that allow me to run the frontend as a development server and proxy all the non-api traffic from axum to it.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.