![image](https://private-user-images.githubusercontent.com/147033096/312315987-197107a3-1abc-4c05-86d0-429431388c5d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNjQyMTAsIm5iZiI6MTcyNTA2MzkxMCwicGF0aCI6Ii8xNDcwMzMwOTYvMzEyMzE1OTg3LTE5NzEwN2EzLTFhYmMtNGMwNS04NmQwLTQyOTQzMTM4OGM1ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgzMVQwMDI1MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYWIyN2IwZDY5NTAxODNkMTQ2MjIzZWIwNDVkN2M1ZTIxY2Y1YjhkZWU1YTJjODIxZTdlNmJiMGNlZjBkODMwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.uQMZcoFNAW1D91L5wBIuPm-vCgV967k3Hsx26i_shYE)
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