to start the project, create Secrets.toml
and add there DATABASE_URL
& GOOGLE_CLIENT_ID
.
Then, run cargo shuttle run --port 8080
.
Database is postgres instance. Google Client ID is provisioned by Google Cloud.
cargo clippy --fix --lib -p entity --allow-dirty
<- to fix linting errors in crate.
cargo fmt
<- to format code.
Service is GraphQL API, with following endpoints:
/graphql
<- on GET
you have playground. on POST
handler for queries.