This is the server-side (backend) of the Real Estate Web Application built with the MERN stack. It powers the business logic, RESTful APIs, authentication (JWT), and connects to a MongoDB database.
-
π Frontend (Live Site)
-
π₯οΈ Server GitHub Repo
- β RESTful API for frontend integration
- π JWT-based Authentication
- π€ Role Management (Admin, User, Agent)
- π Property CRUD Operations
- π¬ Review System
- π° Stripe Payment Integration
- π Offer Handling & Status Management
- π§ββοΈ Admin Controls (Make Admin/Agent, Flag Fraud Agents)
- π¦ Secure Environment Configuration with Dotenv
β οΈ Error Handling & Route Protection
- Node.js
- Express.js
- MongoDB + Mongoose
- CORS
- Dotenv
- Stripe SDK
- JSON Web Token (JWT)
- Firebase Admin SDK
Create a .env file in the root directory and add:
ask me for .env files
π οΈ How to Run This Project Locally (Backend) β Prerequisites Node.js (v14 or above)
MongoDB (local or Atlas)
Firebase Admin SDK (for verifying user tokens)
Stripe account (for payment keys)
1.git clone https://github.com/ashiful2002/get_land_server 2.cd project 3.npm install 4.setup .env 5.nodemon index.js
π§βπ» Author Ashiful Islam π§ Email: ashifulislam2002@gmail.com