Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 707 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 707 Bytes

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 http://localhost:8080/api/healthchecker to view it in the browser.