Skip to content

Full-stack SPA demo using Solidjs, TypeScript, and Tailwindcss. Backend by Rust with Axum.

License

Notifications You must be signed in to change notification settings

emarifer/demo-axum-spa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Axum SPA

Full-stack SPA demo using Solidjs, TypeScript, and Tailwindcss. Backend by Rust with Axum.

First, you need to compile the frontend:

$ pnpm build  #(you need to have Nodejs and pnpm (or yarn) installed)

To run the server (in development mode):

$ cargo run # or cargo watch -q -c -w src/ -x run (cargo-watch must be installed on the system)

The page will reload if you make edits (with watch mode) 😀.

To build the project for production and minimize its size:

$ cargo build --release

Runs the app in the development mode.
Open https://localhost:8080/api/healthchecker to view it in the browser.