Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zanadoman/rustweb

A simple and efficient single-page CRUD web application built with Rust, and Axum, featuring a minimalist frontend using only HTML, HTMX, and Bootstrap.
https://github.com/zanadoman/rustweb

axum bootstrap crud htmx rust single-page webapp webdevelopment website

Last synced: about 1 month ago
JSON representation

A simple and efficient single-page CRUD web application built with Rust, and Axum, featuring a minimalist frontend using only HTML, HTMX, and Bootstrap.

Awesome Lists containing this project

README

        

# ๐ŸŒ Rust CRUD Website

**A simple and efficient single-page CRUD web application built with Rust, and
Axum, featuring a minimalist frontend using only HTML, HTMX, and Bootstrap.**

---

## โœจ Features & Goals

- **Simple and Minimalistic:** Lightweight single-page web application without
complex front-end framework or custom styling.
- **Rust-Powered Performance:** Built with Rust and Axum for efficient handling
of concurrent requests and optimal server performance.
- **Interactive Without JavaScript:** Uses HTMX and Bootstrap to deliver a
responsive, interactive experience without any custom JavaScript, making it
ideal for pure HTML approach.
- **Quick Setup and Deployment:** Streamlined setup process with minimal
dependencies, enabling easy deployment across different environments.

---

## ๐Ÿ› ๏ธ Dependencies

To host the website, make sure you have the following dependencies installed:

- **Rustup**
- **MariaDB**
- **sqlx-cli**

---

## ๐Ÿ”ง Hosting Instructions

Follow these steps to host the website:
```
git clone https://github.com/zanadoman/rustweb.git
cd rustweb
cargo install sqlx-cli
mariadb -u root -p -e "CREATE DATABASE messages;"
cp .env.example .env
cargo sqlx migrate run
cargo run
```

---

***๐Ÿš€ Enjoy!*** - Zana Domรกn