CollectAI is a SaaS platform designed to help small businesses, agencies, and freelancers manage invoices and recover payments efficiently. The platform automates invoice tracking, payment reminders, and collection workflows, reducing the time spent chasing unpaid invoices.
Many MSMEs struggle with delayed payments and unpaid invoices. Business owners often spend significant time manually following up with clients through emails and messages, leading to cash flow issues and operational challenges.
CollectAI aims to solve this problem by providing a centralized platform for invoice management and automated payment collection workflows.
- User Authentication (JWT)
- Secure Password Hashing (bcrypt)
- Protected Routes
- Create Invoice
- View All Invoices
- View Single Invoice
- Update Invoice
- Delete Invoice
- User-Specific Invoice Management
- MongoDB Database Integration
- Dashboard Analytics
- Email Reminder Automation
- WhatsApp Reminder Automation
- AI-Generated Follow-Up Messages
- Razorpay Payment Integration
- Cash Flow Tracking
- Reminder Scheduling with Cron Jobs
- Payment Recovery Analytics
- React
- Vite
- Tailwind CSS
- Node.js
- Express.js
- JWT Authentication
- bcryptjs
- MongoDB
- Mongoose
- OpenAI
- Razorpay
- Twilio WhatsApp API
- Nodemailer
server/
│
├── config/
├── controllers/
├── middleware/
├── models/
├── routes/
├── utils/
├── app.js
└── server.js
client/
│
├── src/
│ ├── components/
│ ├── pages/
│ ├── context/
│ ├── services/
│ └── App.jsx
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/register | Register a new user |
| POST | /api/auth/login | Login user |
| GET | /api/auth/me | Get current user |
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/invoices | Create invoice |
| GET | /api/invoices | Get all invoices |
| GET | /api/invoices/:id | Get invoice by ID |
| PUT | /api/invoices/:id | Update invoice |
| DELETE | /api/invoices/:id | Delete invoice |
git clone https://github.com/CodeManBist/CollectAi.gitcd server
npm installCreate a .env file:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_keyRun the server:
npm run devcd client
npm install
npm run dev- Authentication System
- Invoice Management
- Dashboard Analytics
- Email Notifications
- Reminder Scheduling
- OpenAI Integration
- WhatsApp Automation
- Razorpay Payments
- Deployment
- Performance Optimization
- Production Readiness
Sagar Bist
Full Stack Developer passionate about building scalable SaaS products and solving real-world business problems.
This project is licensed under the MIT License.