A rust driven axum served platform for linking high performance statically generated astro sites to a rust API for extremely light weight and high performance web applications on constrained systems. The base implementation of this project uses around 2 MB of memory
- Rust Axum API
- Astro Static Site Generation
- Tailwind CSS Styling
- Formatters (Cargo fmt + Prettier)
- Linting (Clippy + EsLint)
- Interactive Islands (React)
- Absolute Imports for Astro + TSX
@/*
- Response Caching
pnpm dev:frontend
- Start the frontend astro server on port 4321pnpm dev:backend
- Start the backend axum server on port 3000
pnpm build
- Build the frontend astro site, and the backend axum server
pnpm start
- Start the production server on port 3000 serving the astro site and running the axum server for routes under/api/
pnpm lint
- Lint the rust code, web code linting coming soonpnpm format
- Format the rust and web code
pnpm launch
- Build and start the production server
PUBLIC_HOST
- The public host of the server, this will throw a warning if not set but should still function on the fallbacklocalhost:3000