Skip to content

This a project titled PropertyPro-lite. It is an online platform that allow users (Agent or Customer ) to see posted property advert which may be in form of Housing, personal property and mcuh more

Notifications You must be signed in to change notification settings

zanio/PropertyPro-lite

Repository files navigation

PropertyPro-lite

This a project titled PropertyPro-lite. It is an online platform that allow users (Agent or Customer ) to see posted property advert which may be in form of Housing, personal property and mcuh more

Project management information on pivatal tracker

  • See the project stories here.

UI Design

I designed the UI of PropertyPro-lite on figma and you can check the url for prototyping reason: Figma

PropertyPro-lite screenshot

User Interface (UI) Tech Stack (Frontend)

  • HTML
  • CSS
  • Javascript

GitHub Pages link for UI Frontend

PropertyPro-lite/UI link

Note:

  • Two types of database was used in this project. The develop branch uses postgres database
  • And the non-persistence data which used javascript object model. The bg-clean-167071582 uses non-persistence

REST API Docs

PropertyPro-lite documentation link

Required Features

User can sign up.
User can sign in.
User (agent) can post a property advert
User (agent) can update detail of a property advert.
User (agent) can mark his/her posted advert as sold.
User (agent) can delete a property advert.
User can view all properties adverts.
User can view all properties of a specific type - 2 bedroom, 3 bedroom, mini flat etc.
User can view a specific property advert.

More Features

Users (admin) can create new admin.
User can delete his/her account. This action cannot be undone
User when logged in can Gets and display all property in his dashboard
User (agent) can report an advert
Users (admin) can flag an advert
users can see flagged property matching the particular id
users can see all flagged property
User can a specific property aaddress to be displayed on the map with the red flag
User (agent) can post a property advert
User (agent) can update detail of a property advert.
User (agent) should get Email verification when signed up
User (agent) should get Password reset link sent to user mail for if he/she does not remember the password
User (agent) should be redirected to a password reset page where he can reset password
User (agent) can reset password if he/she remembers old password

Programming paradigm

The style of programming as seen in this project is functional. Functional programming is a programming paradigm—a style of building the structure and elements of computer programs—that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data. It is a declarative programming paradigm in that programming is done with expressions or declarations instead of statements. Functional code is idempotent: a function's return value depends only on its arguments, so calling a function with the same value for an argument always produces the same result.

Installation and Running the Application

Ensure that you have nodejs and npm installed in your computer

a. Clone this repository into your named folder

git clone -b develop https://github.com/zanio/PropertyPro-lite.git .
git status

b. Install the project dependencies

npm install

c. start the application

npm run dev

Test the application

npm run test

Test the endpoints

The application can be tested locally through localhost on port 3300 or through the live url using postman or directly with swagger

  1. Run the application while postman is open
  2. Go to postman and test against the endpoints below with the required property:-

Endpoints to test

Method Endpoint Enable a user to:
POST api/v1/auth/signup Create user account
POST api/v1/auth/signin Login a user
POST api/v1/property Create a property advert
PATCH api/v1/property/<:property-id> Update property data
PATCH api/v1/property/<:property-id>/sold Mark a property as sold so users know it’s no longer available
DELETE api/v1/property/<:property-id> Delete a property advert
GET api/v1/property/ Get all property adverts
GET api/v1/property/search?type =​ propertyType Get all property advertisement offering a specific type of property (e,g flat, mini-flat,etc)
GET api/v1/property/<:property-id> View a specific property advert

please see the api-docs for a full documentation

Release

Version 1.0.0

  • Still in developement

Contributing

This app is open to suggestions and contribution. To contribute follow the steps below:

  • Fork this project and clone locally
  • Work on the project and create a branch for each separate work
  • Ensure to test your contribution
  • Ensure to write good commit messages
  • When done push to your origin repo
  • Create a Pull request

Acknowledgements

Author

About

This a project titled PropertyPro-lite. It is an online platform that allow users (Agent or Customer ) to see posted property advert which may be in form of Housing, personal property and mcuh more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published