Make sure the following tools are installed:
- Node.js
- npm
- Python 3.10+
- MongoDB
- Redis
git clone https://github.com/CodePlaygroundHub/paso-chat-app.git
cd paso-chat-appcd backendnpm installCreate:
backend/.envCopy values from:
backend/.env.examplenpm run devBackend runs on:
http://localhost:5001cd frontendnpm installCreate:
frontend/.envCopy values from:
frontend/.env.examplenpm run devFrontend runs on:
http://localhost:5173cd ml-servicepip install -r requirements.txtuvicorn app:app --host 0.0.0.0 --port 8000 --reloadML service runs on:
http://localhost:8000The FastAPI ML service provides:
- toxic message detection
- spam detection
- smart reply suggestions
POST /analyze{
"text": "Hello world"
}{
"toxic_score": 0.01,
"spam_score": 0.02,
"smart_replies": ["Hi!", "Hello!"]
}- React.js
- Zustand
- Tailwind CSS
- DaisyUI
- Socket.io Client
- Axios
- Framer Motion
- Node.js
- Express.js
- MongoDB
- Socket.io
- Redis
- JWT Authentication
fastapi
uvicorn
scikit-learn
joblib
pydanticDeployed on:
VercelDeployed on:
RenderDeployed on:
Rendernpm run dev
npm run build
npm run preview
npm run lintnpm run dev
npm start
npm run lintfrontend/.env.example
backend/.env.example