cornerstone
๐ A production-ready, batteries-included Rust template for building full-stack applications fast.
dockerrusttemplateboilerplaterest-apisqlitepostgresqlci-cdfull-stacktokiorust-langproduction-ready
FreeRepo
Overview
Cornerstone is a production-ready template for building full-stack applications in Rust. It includes a backend built on axum with compile-time checked SQL queries, a choice of SvelteKit for web or Slint for desktop frontends, JWT authentication, OpenAPI documentation and Docker deployment tooling, with support for PostgreSQL or SQLite databases selected via feature flags.
Features
jwt-authenticationaccess-refresh-token-rotationopenapi-swagger-documentationrate-limitingcompile-time-checked-sql-queriesmulti-stage-docker-buildgithub-actions-cipre-commit-hookshot-module-reloadingtype-safe-api-generation
Feature Flags
authenticationauthorizationteamsOrgsjobsQueuenotificationsapiDocscachingrateLimitingformsValidationmultitenancy
Recommended Use Cases
full-stack-web-applicationsrest-api-servicesdesktop-applicationsproduction-ready-applicationsmemory-safe-systems
Frontend
sveltekitslinttypescript
Backend
rustaxumtokiosqlxutoipa
Auth Providers
jwt
Deployment Targets
dockerdocker-compose
Payment Providers
None
Quick Facts
โญ Stars
59
๐ด Forks
6
๐ Active
Yes
๐ Last Commit
2025-10-27T14:24:03.000Z
GitHub
Stack
Framework
axum
Language
rust
Database
postgresql, sqlite
Auth
jwt
ORM
sqlx
Testing
cargo-test
CI
github-actions
Data Layer
Databases
postgresql, sqlite
ORM
sqlx
UI Stack
Components
sveltekit
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
github-actions
Pricing
Classification
free
Selected
โ
Notes
Open-source template