After cloning the repository, run the following commands:
npm i
npx husky install
Furthermore, you have to:
- Install the AWS CLI to use the AWS Amplify features. Make sure that your AWS IAM account is correctly configured. To set up your IAM account, run
aws configure
. Other options to authenticate with your IAM account can be found here. - Install the Doppler CLI to fetch the necessary secrets from Doppler. To set up Doppler run
doppler login
anddoppler setup
after installing the Doppler CLI.
The following are some useful commands:
npm run lint
: run ESLint.npm run format
: run prettier.npm run check-types
: run the TypeScript compiler to check types.npm run docs
: build the auto-generated API reference.npm run generate-graphql
: generate the GraphQL types.
This repo uses TypeDoc to automatically generate an API reference from the source code. To generate the documentation, run npm run docs
. The generated documentation can be found in the docs
folder.
Furthermore, you can add markdown files to the docs
folder to add additional documentation.
A live version of the documentation can be found here. It is automatically updated on every push to the main
branch.
This repository uses Doppler to manage secrets.