/vault-decryptor-server

Metamask vault decrypor server

Primary LanguageTypeScript

REST Node.ts

RESTful API service scaffold based on Node.js & TypeScript

Deploy to Production environment

Deploy to Render

Feature

  1. HTTP server: Koa
  2. Controller framework: Routing Controllers
  3. Model framework: Class Transformer & Class Validator
  4. ORM framework: TypeORM
  5. API document: Swagger
  6. Mock API: OpenAPI backend

Environment variables

Name Usage
APP_SECRET encrypt Password & Token
DATABASE_URL PostgreSQL connection string

Usage

Development

Execute a command:

npm i pnpm -g
pnpm dev

or just press F5 key in VS Code.

Migration

pnpm upgrade:dev

Deployment

Execute a command:

npm start

Migration

pnpm upgrade:pro

Docker

pnpm pack-image
pnpm container