The frontend for https://kids.kousun.com, a Web Application Server built on Rust Web Stacks: tide, async-std, fluent, graphql_client, surf, rhai, handlebars, lettre ...
git clone https://github.com/rusthub-org/kids.kousun.com
cd ./frontend
Rename file .env.example
to .env
, or put the environment variables into a .env
file:
DOMAIN=kids.kousun.com
ADDR=127.0.0.1
PORT=7402
LOG_LEVEL=Debug
GQL_PROT=http
GQL_ADDR=127.0.0.1
GQL_PORT=8402
GQL_URI=gql
GQL_VER=v1
GIQL_VER=v1i
EMAIL_SMTP=<smtp.server>
EMAIL_FROM=<email_account>
EMAIL_USERNAME=<username>
EMAIL_PASSWORD=<password>
Then, build & run:
cargo build
cargo run # or cargo watch -x run
WebUI: connect to http://127.0.0.1:7402 with browser.