Git Product home page Git Product logo

property-pro-lite's Introduction

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.

Getting Started

To get the project up and running on your local machine, please follow these instructions.

Prerequisites

Make sure you have node -v 10 and above installed Or follow these steps to install node

Node installation on OS X

$ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" 

Node installation on Linux

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

Node installation on Windows

Download the intaller from the official Node.js website

Clone the project from github

$ git clone https://github.com/alfredruhara/property-pro-lite

Install the required dependencies found in package.json

 $ npm install

Start the server

 $ npm start

Running the tests

Testing and Getting the code coverage report with nyc

 $ npm test

Testing the code style with eslint

 $ ./node_modules/.bin/eslint server

Work break down structure

- User 
  - Home page
  - Specific Property page
  - Agents page
  - Sign and Sign up pages
  
- Agent
  - Own Properties page
  - Create AD page
  - Edit property page
  - Trade page
  - Profile page

User Endpoints : /api/v1/

Method End point Public Action
GET user/ True get all users as agents with their informations available
POST auth/signup True Create a new user
POST auth/sign True Login the user
PATCH user/ False Edit user information
PATCH user/changepassword False Change password
PATCH user/changeavatar False Change avatar

Property Endpoints : /api/v1/

Method End point Public Action
POST property/ False Post an advert - publish
PATCH update/:id False Edit a property
DELETE property/:id' False Delete a property
PATCH property/:id/sold False Mark a property as trade
PATCH property/:id/unsold False Mark a property as untrade
GET property/ True Get all adverts properties
GET property/view/<property_id> True Get a specific property
GET property/agent False Agent account - Get all his properties
GET property/agent/sold False Get all adverts properties mark as trade for the agent
GET property/filter/?location=&type=&bathrooms=&bedrooms True Filter and search Result

API Official documentation

The official documenation of the API can be found at : https://property-lite-pro.herokuapp.com/api-docs/

Deployment

The application template is hosted on github pages https://alfredruhara.github.io/property-pro-lite/UI/

  • Use any email and password to access other pages
  • Interact with the application template to discover other activities

The application server has been hosted on Heruku:

Management

The development phases of the project (project stories) are on pivotaltracker : https://www.pivotaltracker.com/n/projects/2354593

Author

  • Chadrack ruhara

property-pro-lite's People

Contributors

alfredruhara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

property-pro-lite's Issues

UI - Typography concerned

Isuues

  • cannot change body font

  • cannot change tagline font

Everything else seems to work fine as far as typography is concerned.
This have been tested on :

Mozila Firefox - latest version
Chromium 
Opera Mini - lastest version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.