{"repo":"olekspickle/axum-template","free":true,"listed":false,"github":"https://github.com/olekspickle/axum-template","clone":"git clone https://github.com/olekspickle/axum-template.git","description":"Axum template(with static templates) + SQLite + dockerization","language":"Rust","stars":19,"topics":["axum","docker","rust","template","web-server"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"axum-template ! Axum Template - Portfolio/blog website template Overview Portfolio/blog website template for a company that does software/games projects This README was generated with [cargo-readme] from src/lib.rs . This template provides: - [x] Axum server with middleware - [x] Askama templates - [x] Containerization (with compose) - [x] Portfolio projects management - [x] Blog with markdown support - [x] Admin panel with authentication - [x] SQLite backend (default) - [x] SurrealDB backend (optional, behind feature flag) - [x] RBAC (User/Editor/Admin) - [x] HttpOnly cookie support - [x] Rate limiting on login - [x] Enable HTTPS - [x] Add login page template - [x] Audit logging - [x] Secure cookie flag - [x] Password reset flow - [x] Remember me checkbox with longer token TTL - [x] Simple footer with socials [cargo-readme]: https://github.com/livioribeiro/cargo-readme Quick start Install [cargo-generate] and run: Running You can peek into justfile for build details Configuration Edit config.toml to configure: - Server host/port - Database path - Admin credentials (password is argon2 hashed) - Site name and tagline Afterthoughts and issues I found axum to be the most ergonomic web framework out there, and while there might be not enough examples at the moment, it is quite a breeze to use - static files was sure one noticeable pain in the rear to figure out - surrealdb sure adds complexity, I'm adding it under a feature because sqlite integration is so much less crates to com","default_branch":null,"files":null,"tree":[],"storefront":"/r/olekspickle","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/olekspickle/axum-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}