Get PASO running locally in minutes.
- Node.js 18+
- npm 9+
- MongoDB (or MongoDB Atlas cloud)
- Redis (or Redis Cloud)
git clone https://github.com/CodePlaygroundHub/paso-chat-app.git
cd paso-chat-appcd backend
npm install
# Copy environment template
cp .env.example .env
# Start backend (leaves terminal running)
npm run devExpected output:
✅ Backend running on http://localhost:5001
✅ MongoDB connected
✅ Redis connected
✅ Socket.IO server ready
New terminal:
cd frontend
npm install
# Copy environment template
cp .env.example .env
# Start frontend
npm run devExpected output:
✅ Frontend ready on http://localhost:5173
➜ Local: http://localhost:5173/
➜ Network: [accessible from network]
Open in browser: http://localhost:5173
Email: test@test.com
Password: Test@1234
Name: Test User
✅ Success! You should see the chat interface.
- Sign up with the credentials above
- Go to sidebar → "New Chat"
- Create a new chat or group
- Type a message and press send
- Watch the message appear in real-time! 🎉
# Run tests
npm test
# Check code style
npm run lint
# Build for production
npm run build
# View logs
npm run logs# Install MongoDB locally
brew install mongodb-community # macOS
# Or use Docker
docker run -d -p 27017:27017 mongo:7# Install Redis locally
brew install redis # macOS
# Or use Docker
docker run -d -p 6379:6379 redis:7-alpine
# Start Redis
redis-server# Kill process on port 5001
lsof -ti:5001 | xargs kill -9 # macOS/Linux
# Windows
netstat -ano | findstr :5001
taskkill /PID <PID> /Frm -rf node_modules package-lock.json
npm cache clean --force
npm installAfter successful setup:
- 📖 Read ARCHITECTURE.md — Understand how PASO works
- 👨💻 Read CONTRIBUTOR_ONBOARDING.md — Start contributing
- 🚀 Read DEPLOYMENT.md — Deploy to production
- 🔐 Read SECURITY_BEST_PRACTICES.md — Secure your setup
Ready to explore? 🚀
See [README.md](./README.md) for more information.