Client is using TypeScript, NextJS and GraphQL.
Client website: https://stegoer.netlify.app/
Source code: https://github.com/stegoer/client
npm install
Create a .env.local
file and copy the contents of .env.local.example
file into the .env.local
file
cp .env.local.example .env.local
npm run dev
GraphQL Code Generator
is used to generate type definitions and hooks for queries and mutations. See client/src/graphql/codegen.yml
for
configuration options.
npm run gen
To add a new query or mutation head to src/graphql/user
or
src/graphql/image
and add a new file.
To add a new fragment head to the src/graphql/fragments
folder.
npm run docs:build
TypeDoc is used to generate documentation which is then published via the Docs GitHub Action on GitHub Pages.
pre-commit install
Developed under the MIT license.