/propertypro-lite

Property Pro Lite is a platform where people can create and/or search properties for sale or rent.

Primary LanguageJavaScriptMIT LicenseMIT

Build Status Coverage Status Maintainability

Property-Pro-Lite

Property Pro Lite is a platform where people can create and/or search properties for sale or rent.

Screenshot

screenshot

Built With

  • HTML
  • CSS
  • Nodejs

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

Make sure you have node -v 12 and above installed or follow the steps from the official Node.js website to install node.

Clone the project from github

$ git@github.com:Mupa1/property-pro-lite.git

Install

$ npm install

Start the server

$ npm run dev

Run tests

Testing and getting the code coverage report

$ npm test

Structure breakdown

  • User

    • Homepage (ALl properties)
    • Signin and signup pages
    • Specific Property
  • Agent

    • Agent's properties page
    • Create ad page
    • Edit property page
    • Profile page

User Endpoints : /api/v1/

Method End point Public Action
POST users/signup True Register a new user
POST users/signin True Login a registered user
PATCH users/:id False Edit user information
PATCH users/changepassword False Change password

Property Endpoints : /api/v1/

Method End point Public Action
POST properties/ False Post a property advert
PATCH properties/:id False Edit a property
DELETE properties/:id False Delete a property
PATCH properties/:id/sold False Mark a property as sold
PATCH properties/:id/available False Mark a property as available
GET properties/ True Get all adverts properties
GET properties/<property_id> True Get a specific property
GET properties/filter/?city=&type=&bathrooms=&bedrooms True Filter and search Result

Deployment

The application template is hosted on raw.githack.com

  • Use any email and password to access other pages.

The application server has been hosted on [Heruku](link to be shared)

Author

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.