Lapa

screenshot of Lapa

Leptos Axum starter with Admin dashboard and SSR/SPA website

Overview:

LAPA is a Leptos Axum Prisma starter that includes an admin dashboard and SSR/SPA website. This full-stack setup utilizes the type safety and performance of Rust, providing a practical solution for building websites and services. With strict types, enforced error and value management, predictable performance, and native performance, LAPA offers a scalable and future-proof approach to web development.

Features:

  • Project SEO site
  • Admin dashboard
  • CLI with clap: settings-init, user-add, migrate
  • Prisma schema: user, session, post, image, settings
  • Ops scripts: build, upload, run (site, admin, CLI)
  • Site: SSR + SPA hydrated
  • Open graph meta tags
  • Rate limiting with benwis/tower-governor
  • Compression with tower-http/compression
  • Precompression with ryanfowler/precompress
  • Admin authentication and session with axum_session AscendingCreations/AxumSessions and axum_session_auth AscendingCreations/AxumSessionsAuth
  • Custom prisma DatabasePool
  • Admin CRUDL
  • Published_at timestamp for posts
  • Images preview and upload
  • Resize and convert images on the backend
  • Order images in a gallery
  • is_hero flag for images
  • Delete and alt update in "dialog"
  • Settings: robots.txt, site_url, images size
  • Home_text CSS
  • Dark and light themes
  • Mobile-first design
  • Components: forms, inputs, response messages
  • Input datetime-local usage with chrono library
  • Routing
  • Progress
  • Favicons

Summary:

LAPA is a Leptos Axum Prisma starter that offers a practical full-stack setup for building websites and services. Its utilization of Rust's type safety and performance opens up new possibilities in web development. LAPA provides a standardized approach with strict types, enforced error and value management, predictable performance, and native performance. With its range of features, including an admin dashboard, CLI, and support for SEO, compression, and rate limiting, LAPA offers a scalable and future-proof solution for developing web applications.

dashboard
Dashboard

A dashboard style website template is a pre-designed layout that features a user interface resembling a control panel or dashboard. It typically includes charts, graphs, tables, and other data visualization tools that allow users to monitor and analyze data in real-time.