An implementation of create, read, update and delete over HTTP with actix-web, SQLite and svelte. Live updates via server-sent events, also known as EventSource.
Making user oriented crud-applications with cross-client live updates.
# start server
cargo run --release
# in another terminal
curl localhost:8080
# or open browser
open http://localhost:8080
Index is served from client/public/index.html, static files are served from client/public/static.
See test.sh or the client implementation for how to:
- register users
- login
- CRUD-ing documents
# install cargo-watch if not present
cargo install cargo watch
# start server, compile and restart on changes to files
cargo watch -w src -x run
# run tests in another terminal
./test.sh
See client README.