Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 457 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 457 Bytes

zo-ts-rest-api

Zero One Typescript Rest API service

npm run compile - build an executable file into build/source/build.exe
npm run dev - run with nodemon
npm run start - run regular API

Config example

(store in .env.development.local)

export NODE_ENV="production"
export PORT=4000
export SECRET_KEY="SECRET KEY"
export RPC_URL="RPC URL"
export DEPLOY_MODE="prod"
export SKIP_PREFLIGHT="true"
export COMMITMENT="processed"