System Requirements
Operating System
macOS, Windows, or Linux
Node.js
Version 18 or higher
npm
Version 10 or higher
Docker
Docker Desktop for local services
Step-by-Step Installation
1. Fork the Repository
Navigate to https://github.com/voxora-cloud/voxora and click the “Fork” button to create your own copy of the repository.2. Clone Your Fork
3. Install Node Dependencies
Install all dependencies for the monorepo:- The root workspace
apps/web(Next.js frontend)apps/api(Express backend)- All shared packages
4. Configure Environment Variables
API Environment Variables
Navigate toapps/api and create your .env file:
.env
Web Environment Variables
Navigate toapps/web and create your .env file:
.env
5. Set Up Docker Services
Voxora uses Docker for local development services. The following services are configured:- MongoDB: Database for storing users, conversations, and messages
- Redis: Caching and session management
- Mongo Express: Web-based MongoDB admin interface
- MailHog: Local email testing server
This command runs
docker-compose from the docker/docker-compose.dev.yml file.6. Verify Docker Services
Check that all services are running:- MongoDB (port 27017)
- Redis (port 6379)
- Mongo Express (port 8081)
- MailHog (ports 1025, 8025)
7. Start Development Servers
Start both web and API development servers:Verification
Check Web App
Navigate to http://localhost:3000 in your browser. You should see the Voxora web interface.Check API Server
Test the API health endpoint:Check MongoDB
Access Mongo Express at http://localhost:8081 to view your databases. Default credentials:- Username:
admin - Password:
pass
Check Email Testing
Access MailHog at http://localhost:8025 to view emails sent by the application during development.VS Code Extensions (Recommended)
For the best development experience, install these VS Code extensions:Better Comments
aaron-bond.better-commentsPrettier
esbenp.prettier-vscodeESLint
dbaeumer.vscode-eslintTailwind CSS IntelliSense
bradlc.vscode-tailwindcssTroubleshooting
npm install fails
npm install fails
Try clearing npm cache and reinstalling:
Docker services won't start
Docker services won't start
Ensure Docker Desktop is running and you have sufficient system resources.
Check Docker logs:
Port conflicts
Port conflicts
If you have services running on the default ports, either:
- Stop the conflicting services
- Modify ports in
docker/docker-compose.dev.ymland.envfiles
MongoDB connection errors
MongoDB connection errors
Verify MongoDB is running:Check connection string in
apps/api/.env matches Docker configuration.Next Steps
Development Setup
Learn about the development workflow
Architecture
Understand Voxora’s architecture
API Reference
Explore the API
Widget Integration
Add the widget to your site