This is a basic web d&d game app where backend communication is made through web socket.
- rust (1.49-nightly) main backend language
- sqlite database
- ws_rs web socket communication
- rocket web framework
- diesel ORM
- frontend react + yarn
- logger syslog, proccess name
jdrp
- auth Keycloak
$ echo 'DATABASE_URL=database/index.db' > .env # Setup database for SQLite
$ cargo run # set ROCKET_CLI_COLOR=off if you don't want emojis or colors in your syslogs
You need to have java install for running keycloak server. Follow this for install and run keycloak
I will export a realm configuration later.
If you are running on wsl don't forget to start syslog
$ sudo service rsyslog start
Visit http://localhost:8000 for api
Run in ./static
$ yarn run start
Visit http://localhost:3000 for site