full_stack_engine 1.0.1

A lightweight, opinionated Rust web framework built on top of Actix-web, SQLx, and Tera.
Documentation

My Rust Framework

A lightweight, opinionated Rust web framework built on top of Actix-web, SQLx, and Tera.

Repository Structure

This repository contains two separate Cargo projects:

  • /framework: The core framework code.
  • /starter: A complete template application. Use this to start your own project!

Features

  • Integrated Auth: Built-in JWT and Argon2 password hashing. Is also pre-configured in the starter app.
  • Template Engine: First-class support for Tera templates with an Astro dev server proxy for rapid frontend development.
  • Cron Scheduler: Easy async job scheduling.
  • Rate Limiting: IP-based rate limiting via Actix-governor.
  • Database: Pre-configured SQLx SQLite pool with automatic migrations.

Getting Started

The fastest way to get started is to explore the Starter App. It comes with a preconfigured frontend (Astro), auth services, and database migrations.

1. Copy the Starter

Copy the starter folder to your own repository or work directly inside it.

2. Configure Environment

Navigate to the starter directory and copy the example environment file:

cd starter
cp .example.env .env

3. Run Development Mode

The starter includes a dev binary that launches both the Rust backend and the Astro frontend concurrently:

cargo run --bin dev

License

MIT OR Apache-2.0