this project was an attempt to recreate an old school web mmorpg, but if i loved the tech, i didnt planned tyo play to it.
i will reboot a real game that i want to play in https://github.com/galakhygame
an state main lib about event sourcing, it provide a trait to implement to create a state from event and generate event from command.
an state-repository lib that handle the evenstore database with the event command and state provided by the previous lib.
an auth lib to share the jwt token check to all component.
an global-config lib to share the configuration between services for CORS
a public html / js client to load public resources.
a private html / js client to load private resources.
an account component with :
- webcomponent to register / login
frontends needs trunk :
cargo install trunk
cargo install wasm-bindgen-cli
cargo install sqlx-cli
cargo install cargo-watch
cargo install -f cargo-upgrades
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
rustup target add wasm32-unknown-unknown
aptitude install clang
see the makefile
they are done with : https://cucumber-rs.github.io/cucumber/current/quickstart.html
cargo test -p account-state --test account-state