trkohler / space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set Up

to start the project, create Secrets.toml and add there DATABASE_URL & GOOGLE_CLIENT_ID.

Then, run cargo shuttle run --port 8080.

Infrastructure

Database is postgres instance. Google Client ID is provisioned by Google Cloud.

Formatting

cargo clippy --fix --lib -p entity --allow-dirty <- to fix linting errors in crate. cargo fmt <- to format code.

Endpoints

Service is GraphQL API, with following endpoints:

/graphql <- on GET you have playground. on POST handler for queries.

About


Languages

Language:Rust 100.0%