/starter-rust-rest-api

⚙️ REST API backend template built in Rust, powered by SeaORM & Axum. [Pre-Alpha]

Primary LanguageRust

⚙️ starter-rust-rest-api

Work In Progress

🚀 Getting Started

  • Download Rust & the SeaORM CLI
    • cargo install sea-orm-cli
  • Download Docker Compose to host your database & the Redis session store
    • Run docker compose up --build to build your Docker image
  • Rename TODO.env to .env
  • Run cargo run to run the backend at http://localhost:8080

🧑‍🚀 Development

  • docker compose start: Start your existing Docker image
  • cargo fmt: Code formatting
  • cargo watch -x run: Run the backend with hot reloading (Run cargo install cargo-watch first)

📆 Future Release Plans

  • File upload route?