Skip to content

Latest commit

 

History

History

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Create initial tables in database:

pnpm db:migrate

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).