To try out server locally, navigate to /server
directory, run yarn
to
install dependencies and yarn start
to start the server.
GraphQL playground will be available on http://localhost:3000
For the hosted demo, server was deployed to vercel.com (formely known as now.sh)
Server is using
apollo-server-micro as
GraphQL server with some cors
layer.
To run code locally, navigate to /client
, run yarn
to install dependencies
and yarn start
to start the app. If CL won't start the browser, app should be
available on http://localhost:3000
Client code was bootstrapped using create-react-app and uses TypeScript.
To perform GraphQL queries, swr together with graphql-request libraries are used.
Client was also deployed to vercel.com