This is a real estate Buying, renting and selling application made using MERN stack. You can find the Deployed project by clicking here - https://bigcity-realestate.onrender.com/
- Google Authentication
- Custom Property Search
- Mailing to Property Owner
- Post as many listings as you like.
/api/v1/auth
Parameter | Type | Description |
---|---|---|
/signup |
POST |
Required. username, email, password |
/signin |
POST |
Required email, password |
/google |
POST |
Firebase Integrated OAuth |
sign-out |
GET |
Signout of your account |
/api/v1/user
Parameter | Type | Description |
---|---|---|
/update/${id} |
PATCH |
Required. Id of user to fetch |
/delete/${id} |
DELETE |
Required Id of user to delete |
/listings/${id} |
GET |
Fetch listings created by that user |
/${id} |
GET |
Get User Information |
/api/v1/listing
Parameter | Type | Description |
---|---|---|
/create |
POST |
Create new Listings |
/update/${id} |
PATCH |
Required. Id of Listing to update |
/delete/${id} |
DELETE |
Required Id of user to delete |
/get/${id} |
GET |
Fetch a single Listing |
/get |
GET |
Get listings based on user query parameters |
To run this project, you will need to add the following environment variables to your .env file
Backend Side
MONGO_URI
- Your MongoDB connection url
JWT_SECRET
- Your jwt secret for authorization
JWT_LIFETIME
- Expiry of jwt token
Client Side
VITE_FIREBASE_API_KEY
- Your Firebase key for google authentication