Loading repository data…
Loading repository data…
ZunainAliAzam / repository
PropertEase - It is a comprehensive real estate management platform designed to simplify and streamline property listings, user management, and communication between buyers and sellers
PropertEase is a comprehensive real estate management platform designed to simplify and streamline property listings, user management, and communication between buyers and sellers. The project is split into two main components: the frontend, built with React and SCSS, and the backend, powered by Node.js, Express, Prisma ORM, and MongoDB.
The project is divided into two main directories:
Frontend: Contains the user interface components, styles, and views.
Backend: Manages the server-side functionality and API routes.
Ensure you have the following installed:
Clone the repository:
git clone https://github.com/yourusername/propertease.git
cd PropertEase
Navigate to the frontend and backend directories, and install the necessary dependencies.
cd frontend
npm install
cd backend
npm install
Set up the .env file in the backend folder with the following variables:
PORT - The port number (default: 3000)JWT_SECRET - Your secret key for JWTDATABASE_URL - MongoDB connection stringcd frontend
npm start
cd backend
npm run dev
The frontend will run on http://localhost:3000 and the backend on http://localhost:8800.
Here are the major API routes for the backend:
User Routes:
/api/auth/register - Register a new user./api/auth/login - Log in with username and password./api/auth/logout - Log out the user.Property Routes:
/api/properties - Get a list of properties./api/properties - Create a new property (Admin only)./api/properties/:id - Delete a property (Admin only).Feel free to contribute by submitting issues, feature requests, or pull requests.
git checkout -b feature-branch).git commit -am 'Add new feature').git push origin feature-branch).This project is licensed under the MIT License.