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