cornerstone

๐Ÿš€ A production-ready, batteries-included Rust template for building full-stack applications fast.

dockerrusttemplateboilerplaterest-apisqlitepostgresqlci-cdfull-stacktokiorust-langproduction-ready
FreeRepo

Preview

cornerstone preview

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

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
Get Started with this Boilerplate