Express + PostgreSQL + Socket.IO backend for the haiy.space social app.
.
|-- src/ # application source
|-- scripts/db/ # one-off database maintenance scripts
|-- database/ # schema and seed SQL files
|-- docs/ # deployment and feature notes
|-- Dockerfile
|-- docker-compose.yml
`-- .env.example
- Copy the environment template:
cp .env.example .env- Install dependencies:
npm install- Start the server:
npm run devnpm start
npm run dev
npm run db:migrate:ip
npm run db:backfill:ip
npm run db:migrate:collectionsdatabase/schema.sql: base schemadatabase/seeds/demo.sql: demo seed datadatabase/seeds/dense.sql: denser seed data for messages, notifications, and collectionsdatabase/seeds/shop.sql: sample shop items and bundles
docs/DEPLOY.md: deployment guidedocs/FEATURES_MEMBERSHIP_HISTORY.md: JWT, membership, and history notesdocs/SHOP_API.md: shop backend APIdocs/SHOP_FRONTEND.md: frontend integration guide for shop