A novel approach for finding flatmates using NodeJS & Machine Learning.
Flatmate is a comprehensive platform designed to solve the accommodation and daily needs of college students. It connects students with compatible roommates using Machine Learning clustering algorithms and provides easy access to essential services like food tiffins, laundry, and brokers.
Live Demo: https://flatmate-connect.vercel.app
- Smart Roommate Matching: Uses K-Means Clustering to find roommates with similar habits, budgets, and preferences.
- Service Recommendations: Personalized suggestions for Food, Laundry, and Broker services based on location and budget.
- Real-time Chat: Chat instantly with potential service providers.
- Notifications: Get alerts when a service provider has a vacancy or when you get a new match.
- Secure Profile: Verified profiles to ensure safety.
- Business Profile: Manage your service listings (Food, Laundry, Rent).
- Vacancy Alerts: Notify students instantly when you have a vacancy or new offer.
- Smart Targeting: Your services are recommended to students who actually need them.
- HTML5, CSS3, JavaScript (Vanilla)
- Vercel for Deployment
- Socket.io Client for Chat
- Node.js & Express.js
- MongoDB (Database)
- Socket.io (Real-time Communication)
- JWT (Authentication)
- Razorpay (Payment Integration - Coming Soon)
- Python 3.10
- FastAPI
- Scikit-Learn (K-Means Clustering)
- Pandas & NumPy (Data Processing)
📂 A-Novel-approach-for-finding-flatmate-using-NodeJS
├── 📂 backend/ # Node.js Express Server
├── 📂 frontend/ # Static Frontend Files (HTML/CSS/JS)
├── 📂 ml_modules/ # Python FastAPI ML Services
└── 📜 README.md # Project Documentation
- Node.js (v14+)
- Python (v3.10+)
- MongoDB (Atlas or Local)
cd backend
npm install
# Create a .env file with generated keys
npm startcd ml_modules
pip install -r requirements.txt
uvicorn app:app --reloadThis is a static frontend. You can run it using Live Server or serve it via the Backend.
# Served automatically by Backend on http://localhost:3000Create a .env file in the backend/ directory:
PORT=3000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
RAZORPAY_KEY_ID=your_key
RAZORPAY_KEY_SECRET=your_secretContributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License.
FlatmatePlatformVideo-description.mp4
Made with ❤️ by Team QuadCoders X DevSpire
