Skip to content

priyal-pandey/trumate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Trumate – Roommate Finder Web App

Trumate is a MERN stack web application that helps students find compatible roommates based on preferences, lifestyle, and location.

Tech Stack

Frontend: React (Vite), Tailwind CSS
Backend: Node.js, Express.js
Database: MongoDB

Project Setup

1. Clone the Repository

git clone https://github.com/priyal-pandey/trumate.git
cd trumate

2. Frontend Setup

cd client
npm install
npm run dev

The frontend will run on: http://localhost:5173

3. Backend Setup

cd server
npm install

Run the backend:

node index.js

The backend will run on: http://localhost:5000

4. Database Setup

Create a MongoDB cluster (MongoDB Atlas recommended). Add your connection string to the .env file as MONGO_URI

5. Environment Variables

Create a .env file inside the server folder:

PORT=5000
MONGO_URI=your_mongodb_uri

6. Running the Full App

Start backend:

cd server
node index.js

Start frontend:

cd client
npm run dev

Folder Structure

trumate/
├── client/        # Frontend (React + Vite)
├── server/        # Backend (Express + MongoDB)
└── README.md

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages