This is a personal blog project written in rust fullstack, still in early progress (I just create this project not long ago).
- backend: actix-web
- frontend: yew + tailwind.css
- database: sqlx + sqlite
I will write a blog for writing this project, including most of the details.
Before you run this project, you should install trunk
&& tailwindcss
:
cargo install trunk
sudo npm install -g tailwindcss
- in
/client
:
trunk serve
- in
/server
:
cargo run
if you want hot-reload for backend server when file was changed, you could install cargo-watch
:
cargo install cargo-watch
and then in /server
:
cargo watch -c -x run