Skip to content

Website, Templating, HTMX and a light-magic database infrastructure

Notifications You must be signed in to change notification settings

nwrenger/maud-magic-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maud-magic-rs

maud-magic-rs is a lightweight example of a Website utilizing light-magic as its database and powered by the HTMX library for seamless server-client interactions.

Features

  • Website: Built with daisy-ui. No extra js required, it just uses HTMX!
  • light-magic: Utilizes an in-memory database for data storage, providing a simple and self-contained solution.
  • HTMX Integration: Enhances server-client interactions through HTMX, allowing for dynamic updates and a smoother user experience.

Usage

  • Install Perquisites: You have to have rust, air and bun installed.
  • Install Dependencies: Install dependencies of bun (in content).
  • Run Dev: Finally, You have to use the air command, it's pre-configured in the air-toml.
  • Build: To build the project you have to run the following command, make sure to include in your export the static files:
cd ./assets/static/content && bunx tailwindcss -i ./../../input.css -o ./dist/output.css && cd ./../../../ && cargo build -r

About

Website, Templating, HTMX and a light-magic database infrastructure

Topics

Resources

Stars

Watchers

Forks

Sponsor this project