/server

Message Pigeon Backend 飞鸽传书后端

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

Message Pigeon Server

The backend of Message Pigeon

Preparation

  1. PostgreSQL
  2. Rename .env.template to .env and configure it

Installation

# install dependencies
pnpm install

# init database
pnpm run db:push

Running the app

# development
pnpm run start

# watch mode
pnpm run start:dev

# production mode
pnpm run start:prod

Usage

HTTP API

After run the app, open /api-docs in the browser

WebSocket API

See WebSocket API Docs