Full stack interview question API
Table of contents
Documentation for the API can be found at https://20jasper.github.io/interview_question_api_graphql_docs/
A searchable reference for the API GraphQL Schema generated with GraphDoc
The questions are stored in a JSON file since they will not need to change between releases, and I don't plan on adding any new questions at the moment
File | Description | Runs on |
---|---|---|
verify.yaml |
Check formatting, run tests and compile code | Runs on pull request to main and called in deploy |
deploy.yaml |
Calls verify , deploys production build to railway, then calls publish-docs |
Runs on push to main |
publish-docs.yaml |
Generates GraphQL docs and then pushes to the docs repo | Called in deploy |
Tests can be run with cargo test
To run test coverage, first install tarpaulin
cargo install cargo-tarpaulin
Then to generate HTML and XML coverage reports, run
cargo tarpaulin