-
Notifications
You must be signed in to change notification settings - Fork 1
Nodejs server routes
Caleb edited this page Nov 4, 2022
·
1 revision
-
GET
/auth/wca/
: begins the redirect to the WCA website to authenticate. -
GET
/auth/wca/callback
: Gets the token from the code. -
GET
/graphql/
: starts the graphql development server (development only) -
POST
/graphql/
: graphql route
You will find the queries, mutations, and subscriptions in _Query.gql
, _Mutation.gql
, and _Subscription.gql
.
DatabaseModels.gql
is my shameless duplication of code for the graphql types for the prisma tables. While I could try to connect libraries to generate graphql types from the prisma tables, I'm not bothering with it for now.