Skip to content

dag0310/vernam-backend

Repository files navigation

Vernam Backend

Backend for the Vernam messenger app.

API

Please check the HTTP request endpoints in index.js

Deployment

  • Run as node service in production: pm2 start index.js --name vernam-backend

Local development

  • Use a (local) development database.
  • VAPID environment variables are optionally for web push notification support
  • Set environment variables in .env file according to .env.example
  • Start dev server: npm run dev

Postgres login / Setup DB

  • Execute database.sql script to setup DB structure