Server is hosted on Digital Ocean. Visit Apollo Studio
- Clone this repository
- Install Docker
- Copy
config.docker.template.yaml
file asconfig.docker.yaml
- (Optional) Provide
.env
with port configuration fordocker-compose.yml
- Run
docker compose up -d
- Done! Visit documentation
- Server via Fastify
- Graphql server via Apollo Server
- Graphql schema via Nexus.js
- Query complexity estimation via graphql-query-complexity
- Logging via pino
- Simple inverse on control container
- Unit tests via Vitest
- Deployment via Github Actions. Workflow
The QR code generated by changeTotp
mutation is represented as data url. It can be converted to an image using this tool
- Install Volta
- Install Node.js:
volta install node
- Install pnpm:
volta install pnpm
- Install dependencies:
pnpm install
- Copy
config.template.yaml
file asconfig.yaml
- Change MongoDB uri in
config.yaml
- Run project:
pnpm start
or launch debug in vscode - Run unit tests:
pnpm test