DailyCast stitches RSS feeds into narrated daily briefings. The project now ships a TypeScript Express API in server/ and a Vite + React client in client/, backed by Postgres.
- Docker + Docker Compose
- Node.js 20+ (for local development without containers)
docker compose up --buildServices started:
- Postgres @
localhost:5432 - Express API @
http://localhost:4000 - Vite client @
http://localhost:3000
Copy server/.env.example to server/.env and client/.env.example to client/.env to customize secrets and URLs.
See server/.env.example for the full list. Highlights:
DATABASE_URL: Postgres DSNJWT_SECRET: JWT signing secretCORS_ORIGIN: Allowed frontend originGEMINI_API_KEY: Gemini API key (optional until AI pipeline runs)
VITE_API_BASE_URL: e.g.http://localhost:4000
cd server
npm install
npx prisma generate
npm run devcd client
npm install
npm run dev- Build images with
docker compose build. - Point your reverse proxy to
client:3000for/andserver:4000for/api. - Apply Prisma migrations in your deployment pipeline before starting the server.
- JWT-backed auth with bcrypt password hashing
- Feed connection CRUD endpoints
- Episode generation stub endpoint
- Settings and subscription tier management
See server/prisma/schema.prisma for the current data model.