Skip to content

hypercerts-org/hypercerts-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypercerts API

The hypercerts API is the touchpoint for developers to interact with the hypercerts ecosystem. It provides endpoints for data upload and fetch, a GraphQL API for querying (on-chain) state and a health check endpoint.

Endpoints

Production: https://api.hypercerts.org/ Staging: https://staging-api.hypercerts.org

/spec - Swagger instance documenting the API and exposing a playground to experiment with the endpoints /v1/graphql - GraphQL API to access hypercerts data like claims, fractions, attestations, allow lists

Scripts

  • dev: Starts the development server using nodemon, which will automatically restart the server whenever you save a file that the server uses.
  • build: Denerates the OpenAPI specification and routes using tsoa, and then compiles the TypeScript code into JavaScript using swc. The compiled code is output to the dist directory.
  • start: Starts the application in production mode.
  • lint: Runs eslint on the codebase to check for linting errors.
  • test: Runs tests using vitest.