Top

Wapi documentation

## Quick Installation (Recommended)

#### Welcome to WAPI!

Get an AI summary of this page
ChatGPT Gemini Grok Perplexity

### 🚀 Quick Installation (Recommended)

For a faster and automated setup, you can use our automated installation script. This script handles system updates, Node.js 22, MongoDB 8.0 (with auth), Redis, PM2, and supports multi-project setup with automatic Domain & SSL configuration.

- # Create the installation script
- nano install.sh # Paste the contents of install.sh here
- chmod +x install.sh
- sudo ./install.sh

Important: After completing the installation, you must review and update your `.env` file for each project (Backend, Frontend, Admin).
Make sure to configure:

- Application URL / Domain
- Database credentials
- API keys (e.g., WhatsApp, OpenAI, etc.)
- Ports (if customized)

Missing or incorrect environment variables may cause the application to not work properly.
Tip: After updating the `.env` file, make sure to rebuild and restart your application:

- For Backend:
- pm2 restart all
- For Frontend / Admin:
- npm run build
- pm2 restart all

This script is idempotent, meaning it is safe to run multiple times to update or add new projects (Backend, Frontend, Admin).