Trumate is a MERN stack web application that helps students find compatible roommates based on preferences, lifestyle, and location.
Frontend: React (Vite), Tailwind CSS
Backend: Node.js, Express.js
Database: MongoDB
git clone https://github.com/priyal-pandey/trumate.git
cd trumatecd client
npm install
npm run devThe frontend will run on: http://localhost:5173
cd server
npm installRun the backend:
node index.jsThe backend will run on: http://localhost:5000
Create a MongoDB cluster (MongoDB Atlas recommended). Add your connection string to the .env file as MONGO_URI
Create a .env file inside the server folder:
PORT=5000
MONGO_URI=your_mongodb_uriStart backend:
cd server
node index.jsStart frontend:
cd client
npm run devtrumate/
├── client/ # Frontend (React + Vite)
├── server/ # Backend (Express + MongoDB)
└── README.md