Nexus formal definition: a relationship or connection between people or things. Source.
git clone https://github.com/whizzbit/nexus-client.git
npm install
npm run dev
The project must be available on http://localhost:3000.
This project make use of URQL and GraphQL Codegen to interact with the server GraphQL API. You must generate GraphQL server bindings and then import them to perform any queries or mutations.
Make sure a
.env
file is available with the same contents as.env.example
.
Make sure
VITE_API_URL
points to an instance of nexus-server
Execute npm run gql:generate
to generate the src/lib/graphql/schema.ts
file. You must import any queries and mutations from this file and use them in
the service implementation.
Every kind of contribution to this project is welcome, please, don't hesitate to open a Pull Request or Issue. I will be happy to help!