/jdrpv2

Primary LanguageRust

Rust

JDRP App

This is a basic web d&d game app where backend communication is made through web socket.

Tech Stack

Install

$ 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.

Run

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