|
|
-
Prerequisites
- Node (
v18.x) - MongoDB
- Redis
- Node (
-
Clone repository
git clone [email protected]:atulmy/fullstack-event-driven-architecture.git speechy -
Switch to directory
cd speechy -
Setup
- Install packages
npm install
- Install packages
- Packages
- common
npm start common - model
npm start model - ui
npm start ui
- common
- Projects
- api
- core
npm start api.core- localhost:3001
- stt (speech-to-text)
npm start api.stt- localhost:3002
- tts (text-to-speech)
npm start api.tts- localhost:3003
- core
- app
- web
npm start app.web- localhost:4001
- console
npm start app.console- localhost:4002
- web
- site
- web
npm start site.web- localhost:5001
- web
- api
Redis as a message broker is only used for development purpose. It should be replaced with a more feature rich pub/sub like RabbitMQ, Kafka, Google Cloud Pub/Sub, etc. for production.
Check .github/workflow for GCP Cloud Run deployment example. Requires GCP_PROJECT and GCP_SA_KEY added to repository secret along with Redis instance configured in GCP.
Copyright (c) 2024 Atul Yadav

