Prerequisites
Before you begin, ensure you have the following installed on your system:Required Software
- Node.js 20 or later - JavaScript runtime
- Yarn 1.22.22 - Package manager (not npm)
- Git - Version control
Platform-Specific Requirements
For Mobile Development (happy-app)
- Expo CLI - Installed automatically with dependencies
- iOS Development:
- macOS with Xcode 15+
- iOS Simulator or physical device
- Android Development:
- Android Studio
- Android SDK and emulator
For Server Development (happy-server)
- PostgreSQL - Database (can use Docker)
- Redis - Cache and pub/sub (can use Docker)
- FFmpeg - Media processing
- Python 3 - Required by some dependencies
- Docker (optional) - For running services locally
Installation Steps
Verify Installation
Test that everything is set up correctly:Test CLI
Test Server
http://localhost:3005.
Test Mobile App
- Press
ifor iOS simulator - Press
afor Android emulator - Press
wfor web browser
Development Variants
The CLI supports running development and stable versions side-by-side:IDE Setup
VS Code (Recommended)
The project includes VS Code workspace configurations in.vscode directories within each package. Install recommended extensions:
- ESLint
- TypeScript
- Prettier (if used)
TypeScript
All packages use TypeScript 5.9.3 with strict mode enabled. Run type checking:Troubleshooting
Port conflicts
If port 3005 is in use, the server dev script will attempt to kill the process:Prisma issues
Regenerate Prisma client:Yarn workspace issues
If you encounter workspace-related errors, try:Happy CLI daemon issues
Run the doctor command:Next Steps
- Review the Project Structure to understand the codebase
- Learn how to build the project
- Set up testing in your workflow