Backend server for Bookshelf.
Set up auth0 by following:
https://auth0.com/developers/hub/code-samples/api/actix-web-rust/basic-authorization
$ mv .env.template .env
$ vim .env # Fill your value
$ cargo install sqlx-cli
$ sqlx migrate run
$ cargo run
$ mv .env.template .env.docker
$ vim .env.docker # Fill your value
$ docker-compose up --build
$ cargo test
With DB
$ docker-compose -f docker-compose-test.yml up -d
$ cargo test -- --include-ignored
Run server and access /graphql/playground
.
$ cargo run --bin gen_schema