A modern, full-stack platform for seamless team collaboration, powered by AI. Create projects, chat in real time, invite collaborators, and leverage AI for code generation and server code execution—all in one place.
🌐 Live Site: https://dev-syncs.vercel.app/ 🌐 Backend: (Add your backend Render.com URL after deployment)
- Features
- Tech Stack
- Getting Started (Local Development)
- Deployment Guide
- Environment Variables Example
- CORS & API URL
- Pro Tips
- Contributing
- License
- Authentication: Secure JWT-based registration & login
- Project Management: Create projects, invite collaborators
- Real-Time Chat: Project-specific chat rooms with Socket.io
- AI Assistant: Use @ai for code help, debugging, and reviews
- AI-Powered Server Code: Generate, edit, and run server code in-browser
| Technology | Purpose |
|---|---|
| React.js | Frontend UI & chat interface |
| Vite | Fast frontend build tool |
| Node.js (Express) | Backend API |
| MongoDB | Database for users/projects |
| Socket.io | Real-time chat functionality |
| Redis | Session & message handling |
| Gemini AI | AI for code generation and queries |
| Web Container | Run server code in-browser |
git clone [your-repo-url]
cd [project-folder]- Backend:
cd backend npm install - Return to root:
cd .. - Frontend:
cd frontend npm install
- Copy
backend/.env.exampletobackend/.envand fill in your values (MongoDB URI, JWT secret, etc.) - Create
frontend/.envand add:VITE_API_URL=http://localhost:3000
-
Backend:
cd backend npx nodemon -
Frontend:
cd frontend npm run dev -
The frontend will run on http://localhost:5173 (default Vite port)
-
The backend will run on http://localhost:3000
- If you get a port error, make sure nothing else is running on 3000 or 5173.
- If you see environment variable errors, double-check your
.envfiles.
- Go to Vercel.com and sign in with your GitHub account.
- Click New Project and import your repository.
- Set the project root to
frontend. - Build Command:
npm run build
- Output Directory:
dist
- Add environment variable:
VITE_API_URL(your deployed backend URL, e.g.,https://your-backend.onrender.com)
- Click Deploy and wait for your site to go live.
- After deployment, your frontend will be live at a Vercel URL (e.g.,
https://dev-syncs.vercel.app).
- Push your code to GitHub.
- Go to Render.com and create a new Web Service.
- Set the root directory to
backend. - Build Command:
npm install
- Start Command:
node server.js
- Environment Variables:
PORT(e.g., 3000)MONGODB_URI(from MongoDB Atlas)JWT_SECRET(your secret)FRONTEND_URL(your deployed frontend URL, e.g.,https://dev-syncs.vercel.app)
- Click Create Web Service and wait for your backend to deploy.
- After deployment, update your frontend's
VITE_API_URLto your backend's Render URL.
- Backend: see
backend/.env.example - Frontend: create
frontend/.env:VITE_API_URL=https://your-backend.onrender.com
- Backend CORS
originmust match your frontend URL (for security) - Frontend API calls use
VITE_API_URLas the base
- Never commit real
.envfiles—use.env.examplefor reference - Monitor your services (logs, status dashboards)
- Set up custom domains for branding
- Use HTTPS (default on Vercel/Render)
- Scale up backend plan if needed
- Keep dependencies updated and run security audits
Contributions, issues, and feature requests are welcome!
- Fork the repository
- Create your feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin feature/YourFeature) - Open a pull request
This project is licensed under the MIT License - see the LICENSE file for details.