TalkingBot/backend
Ravi Gulhane 9c79c30752 first commit 2026-10-30 17:19:01 +05:30
..
src first commit 2026-10-30 17:19:01 +05:30
tests first commit 2026-10-30 17:19:01 +05:30
.env first commit 2026-10-30 17:19:01 +05:30
.env.example first commit 2026-10-30 17:19:01 +05:30
README.md first commit 2026-10-30 17:19:01 +05:30
package-lock.json first commit 2026-10-30 17:19:01 +05:30
package.json first commit 2026-10-30 17:19:01 +05:30
vitest.config.js first commit 2026-10-30 17:19:01 +05:30

README.md

Backend

Public Hapi API. It checks JWTs, booklet ownership, and public links, then proxies chat to the chat engine. It does not call Bedrock or OpenSearch for conversation.

npm install
npm start
npm test

Copy .env.example to .env. CHAT_ENGINE_URL should be http://127.0.0.1:3001 on the same machine. See deploy/README.md for the server process layout.

Owner routes live under /api/admin/. Public conversation routes live under /api/public/. The older /api/booklets/upload and /api/voice/token routes stay as they are.