Backend of Real Estate model for Price Prediction.
https://realestate-minor-project.glitch.me
GET https://realestate-minor-project.glitch.me/house/availableHouses
POST https://realestate-minor-project.glitch.me/house/availableHouses
Parameter | Type | Description |
---|---|---|
userId |
string |
Required. The user's ID who added this house |
area |
number |
Required. Area of the house |
city |
number |
Required The value is between 0 and 5 (both inclusive), for reference please check values.js in frontend |
location |
number |
Required The value is between 0 and 1775 (both inclusive), for reference please check values.js in frontend |
wantedPrice |
number |
Required. The price that owner wants. |
predictedPrice |
number |
Required. The price that model predicted for this house. |
POST https://realestate-minor-project.glitch.me/auth/login
Parameter | Type | Description |
---|---|---|
userEmail |
string |
Required. Email Id of the user. |
userPassword |
string |
Required. Password of the user. |
POST https://realestate-minor-project.glitch.me/auth/signup
Parameter | Type | Description |
---|---|---|
userEmail |
string |
Required. Email Id of the user. |
userPassword |
string |
Required. Password of the user. |
userName |
string |
Required. Name of the user. |
userAge |
number |
Required. Age of the user. |
POST https://realestate-minor-project.glitch.me/prediction/predict
Parameter | Type | Description |
---|---|---|
area |
number |
Required. Area of the house |
city |
number |
The value is between 0 and 5 (both inclusive), for reference please check values.js in frontend |
location |
number |
The value is between 0 and 1775 (both inclusive), for reference please check values.js in frontend |
Clone the project
git clone https://link-to-project
Go to the project directory
cd Backend
Install dependencies
npm install
Start the server
npm start
Server: Node, Express
Database: MongoDB