Messenger Backend

Next.js API for chats and messages

This project exposes a minimal backend for the mobile messenger client. It stores messenger state in PostgreSQL, authenticates users by phone and password, accepts incoming text and voice messages, stores call history, persists uploaded voice files in S3-style object storage on disk with PostgreSQL metadata, and exposes polling-based signaling for two-client call sessions.

Endpoints