This is a full-stack real estate application that allows users to create, update, and view property listings. It uses a combination of React, Redux, Tailwind CSS on the frontend, and Node.js, Express, and MongoDB on the backend.
Make sure you have the following installed on your machine:
Clone the repository:
git clone https://github.com/kika1s1/Real-State.git
cd Real-State
Navigate to the backend directory and install dependencies:
npm install
Create a .env
file in the backend
directory with the following content:
MONGO=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
```
Navigate to the frontend directory and install dependencies:
cd client
npm install
to start both at the same time using concurrently:
cd ..
npm run dev
Open your browser and navigate to http://localhost:5173
to view the application.
Register a new account or log in with existing credentials.
Create, update, and view property listings.
POST /api/users/register
: Register a new userPOST /api/users/login
: Login a userPOST /api/listings/create
: Create a new listingGET /api/listings/get/:id
: Get a specific listingPUT /api/listings/update/:id
: Update a listingDELETE /api/listings/delete/:id
: Delete a listingPOST /api/listings/upload
: Upload listing images Email
admin@gmail.comPassword
adminThis project is licensed under the MIT License.