The Test Project web is a NextJS react app.
See here for running the entire application
If you would just like to run the web, you can run yarn dev
from this folder.
This service relies on ApolloClient to fetch data from the api. Instead of writing the types for all queries manually, we use code generation to grab the utilities.
To add a new query or mutation:
- Create a
.gql
file somewhere - Make sure the api is running
- Run
yarn gen
- Your new query or mutation along with the associated hooks (e.g.
useQuery
,useMutation
will be available via apollo exported fromgenerated/graphql
).
This app is automatically deployed via vercel on push to main.