funny russian homework sharing website
- Rust 80.2%
- Nix 7.4%
- JavaScript 5.8%
- CSS 3.1%
- TypeScript 2.6%
- Other 0.9%
| end2end | initial commit | |
| nix | teacher account... | |
| public | initial commit | |
| src | the final push | |
| style | the final push | |
| .envrc | initial commit | |
| .gitignore | compile time | |
| Cargo.lock | the final push | |
| Cargo.toml | the final push | |
| flake.lock | diary view | |
| flake.nix | teacher account... | |
| LICENSE | diary view | |
| package-lock.json | style | |
| package.json | teacher account... | |
| postcss.config.js | teacher account... | |
| README.md | diary view | |
| rust-toolchain.toml | initial commit | |
| tailwind.config.js | diary view | |
dearny
стек
- database: sqlite
- бекенд: rust (leptos serverfn)
- фронтенд: rust (leptos)
как запустить
установить rust nightly и cargo-leptos:
# тулчейн языка
rustup default nightly
# инструмент сборки
cargo install cargo-leptos
также, surrealdb:
mkdir run
surreal start --log debug --user root --pass root -b 127.0.0.1:9867 file:run/data.db
windows / не-nixos:
npm i
cargo leptos watch
nixos:
# без direnv
nix develop
npm i
RUST_LOG=dearny=trace,info CC=gcc steam-run cargo leptos watch