Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
/ server Public archive

Message Pigeon Backend 飞鸽传书后端

License

Notifications You must be signed in to change notification settings

MessagePigeon/server

Repository files navigation

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