Skip to content

Latest commit

 

History

History

api

TDK API

Backend server powering the Treasure Development Kit

Prerequisites

Development

Install dependencies:

pnpm install

Create .env file based on example and fill in with relevant environment variables:

cp .env.example .env

Generate database client:

pnpm generate

Start server:

pnpm dev

Deployment

Merge to the main branch to deploy to the development environment.

Add a tag with the api-v prefix to deploy to the production environment (e.g., api-v1.0.0).