Prerequisites
Before you begin, ensure you have the following installed:Docker Desktop
Docker Desktop
Required for running MongoDB, Redis, and other services locally.
Download Docker Desktop
Node.js >= 18
Node.js >= 18
Voxora requires Node.js version 18 or higher.
Download Node.js
npm 10+
npm 10+
Usually comes with Node.js installation.
Verify with:
npm --versionStep 1: Fork and Clone
Fork the repository to your GitHub account:Step 2: Install Dependencies
Install all dependencies for the monorepo:Step 3: Set Up Environment Variables
Copy the development environment files for both apps:The default environment files are pre-configured for local development. You can modify them as needed for your setup.
Step 4: Start Everything
Launch Docker services and development servers:- Start Redis, MongoDB, and Mongo Express in Docker
- Run the web and API dev servers via Turborepo
- Set up MailHog for local email testing
Step 5: Access Your Applications
Web App
API Server
Mongo Express
MailHog UI
API Endpoints
- REST API:
http://localhost:3002/api/v1 - Health Check:
http://localhost:3002/ - Widget HTML:
http://localhost:3002/widget - Widget Loader:
http://localhost:3002/widget-loader.js
Email Testing
- MailHog SMTP:
localhost:1025(for sending emails) - MailHog Web UI:
http://localhost:8025(to view emails)
Next Steps
Architecture Overview
Learn about Voxora’s architecture
Development Guide
Detailed development setup
Widget Integration
Add the chat widget to your site
API Reference
Explore the API endpoints
Common Issues
Port already in use
Port already in use
If ports 3000, 3002, 8081, or 8025 are already in use, either:
- Stop conflicting services
- Change ports in
docker/docker-compose.dev.ymland environment files
Docker not starting
Docker not starting
Ensure Docker Desktop is running before executing
npm run dev:full.
You can verify with: docker psMongoDB authentication issues
MongoDB authentication issues
Credentials are seeded from
.env files. Check:apps/api/.env.*docker/docker-compose.dev.yml
Stopping Services
To stop Docker services:Ctrl+C in the terminal where they’re running.