Client is using TypeScript, NextJS and GraphQL.
Client website: https://stegoer.netlify.app/
Development documentation: https://github.com/stegoer/client/blob/master/README.md
Reference documentation: https://stegoer.github.io/client
Source code: https://github.com/stegoer/client
- Install Node.js https://nodejs.org/en/download/
- Clone this repository
git clone git@github.com:stegoer/client.git
- Install dependencies
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
package.json scripts
npm run-script
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 graphql: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.
See typedoc.json for configuration.
pre-commit install
Developed under the MIT license.