WEB-SITE: 242 Unit Training Center
RUST Content Management System (CMS) In-Dev
MTC-SERVER
back-end
- RUST - Rust Programming Language
- Axum - modular web framework built with Tokio, Tower, and Hyper
- SurrealDB Embedded Database engine over RocksDB
MTC-WASM
front-end
- Dioxus - Rust WASM GUI library
- Tailwind CSS - CSS styles
- daisyUI - Components for Tailwind CSS
MTC-APP
desktop
&mobile
application
- RUST Tool-Chains, SurrealDB, Node.Js
- LVMM + CMake + NASM to compile C++/ASM embedded database engine libraries
- Dioxus CLI
cargo install dioxus-cli
- Cross-RS for cross-compile
cargo install cross --git https://github.com/cross-rs/cross
- PEM certificate files (or make them for localhost with MkCert utility)
mkcert -install
mkcert localhost
Rename files:
localhost.pem -> ./data/cert/ssl.crt
localhost-key.pem -> ./data/cert/private.key
.env-example -> .env
Rename and modify settings file as you wish
./.cargo/config.toml
UI WASM PACKS
in folder
./mtc-wasm/src/packs/
- HTTP/HTTPS server
- Authentication middleware
- Core REST API end-points
- Custom API service
- File manager API
- Private file store
- SQL Migrations API
- Front-end admin panel
- Learning module
- Quiz module
- Instructor utils module
- Cross-platform
Tauri App
for Windows, Android, iOS