forum engine in rust
|
|
||
|---|---|---|
| migrations | ||
| src | ||
| static/css | ||
| templates | ||
| .env | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
sarmentine
my current project. it's a web forum thing built with rust.
right now it's just the skeleton, but the database is hooked up
setup
- db is defined in
.envlike so:DATABASE_URL=sqlite:./YOUR_NAME_HERE.db. - it's set to run on
127.0.0.1:3000.
what's inside
- axum + tokio: for the server.
- sqlx + sqlite: migrations are automated, and i've got WAL mode and foreign keys turned on.
- askama: handling the html templates.
status
- basic routing / main page works
- database connection and migrations.
- basic layout and base templates.
- auth logic (login/register routes).
- thread and post functionality.
it's a start.