Git Product home page Git Product logo

trelora_consult_app's Introduction

ruby 2.5.1 rails_ 5.2.1

Trelora Consult App

Module 3 | Dates: 2018.10.22 - 2018.11.02 | Contributors: Abdulla Qudrat, Autumn Martin, Claire Beauvais, & Rajaa Boulassouak

About

Intro

Trelora Consult App is a four person group project built over 11 days. The goal of this project is to build a mobile web application for a listing consultation tool based on Trelora's specifications. Trelora is a flat-fee real estate brokerage in Denver, CO. This app is deployed on Heroku, and can be visited here: https://trelora-consult-app.herokuapp.com/.

Tech Stack

Ruby, Rails, Heroku, CircleCI, HTML, CSS, Bootstrap, JQuery, JavaScript, Webpack, JSON, Net::HTTP, XML, Nokogiri, RSpec, Capybara, Shoulda Matchers, SimpleCov, Git, GitHub, GitHub project management

Background

This app would serve home agents during pricing appointments with listing clients. It provides the tools for a home agent to prepare for an appointment with notes, links (including client contact information and the home's listing on Zillow), and a map of the home location with a link for directions.

It also provides the tools for a home agent to take notes during the appointment, save these notes throughout, and submit them at the end.

Lastly, it includes a timer that begins when a user clicks on "Begin Visit" and ends when the user clicks on "Save and Finish." This application is designed to be responsive, but the primary expectation was to view the app on an iPhone 8.

App Walkthrough

First, a home agent signs in:

Next, an agent selects an address from assigned addresses or enters in an address.

This takes the agent to a page that displays client & property details for preparation.

When the agent clicks on "Begin Visit" on this screen, a timer will start and he/she will be directed to screen to take notes. On this screen, the agent can continually enter and save info.

When all fields are complete and the agent is ready, clicking on "Save and Finish" stops the timer and displays the submitted info.

Clicking on logout returns the user to the login screen.

Getting Started

Clone this repository via git clone https://github.com/Autumn-Martin/trelora_consult_app in the CLI.

This project uses Ruby on Rails framework version 5.2.1, and Ruby version 2.5.1. Bundler is used to install the gems needed for the application.

Running this application in the development environment requires multiple private API keys. If you have access to these, perform the following in the CLI:

bundle
rails s

Testing

Rspec-Rails is used for testing. Perfom the following on the CLI to run the test suite: rspec or bundle exec rspec if required.

Additional Info

System Dependencies:

  • Ruby Version 2.5.1
  • Rails 5.2.1

Example Gems:

trelora_consult_app's People

Contributors

clairebvs avatar rajaaboulassouak avatar abdullaqudrat avatar zingsurfer avatar

Watchers

James Cloos avatar

trelora_consult_app's Issues

Address Lookup - Not Found - Slice 5

A user visits the find search page and fill in an address as the Pricing Location Address.
User click on the button Find Location.
The Find tab is highlighted while the Prepare and Collect tabs are grayed and user cannot click on.

But the address is not found so the user should still be on the find page / same page.
• If Address not found – 404 Not Found
– “Address Not Found”
The user should see a Client Error Message in red displayed Under Pricing Location Address * Address Not Found.

Collect form finish 2/2

As a user, when I click on dismiss, the message box should disappear, and the page should be a read only version of the form

FRONT END SLIDE 6 - prepare page

This is the Pricing Location Preparation Screen. Here, a user reviews all necessary information for the Listing Consultation before going to the Collect tab to begin the consultation. During the consultation, the Member User can return to this page at any time by selecting the Prepare Tab. Data displayed here was received from the Find Location webservice on Slides 4,5.
Tab – Prepare tab is highlighted. Collect tab is grayed out and not accessible. Clicking the Find tab will take a user back to Slide 5 (Address Lookup).
Data fields will be enumerated in Find Location webservice description for Slides 4, 5 (API). The Email field should be a link that opens the device's email client to send an email to this client. The Phone field should be a link that opens the device's phone client to call this client.
The Map field should open Google Maps for this location.
The Zillow field should open Zillow for this location.

Collect start button clicked 2/2

SLIDE 8

the page displays the address, and a fillable form:
All fields should not be nil.
--"about the home"
--"recommended list price" integer between 1 and 100000000
--"update client enthusiasm"
--"buyer agent commission" should be a varchar. (IE, 2.8% or $3000, etc)
--"about the seller"
--"credit card number" should be a valid credit card number
--"credit card expiration date"
-----finish button

slide 6 pricing location separation screen

BACK END

This is the Pricing Location Preparation Screen. Here, a user reviews all necessary information for the Listing Consultation before going to the Collect tab to begin the consultation. During the consultation, the Member User can return to this page at any time by selecting the Prepare Tab. Data displayed here was received from the Find Location webservice on Slides 4,5.
Tab – Prepare tab is highlighted. Collect tab is grayed out and not accessible. Clicking the Find tab will take a user back to Slide 5 (Address Lookup).
Data fields will be enumerated in Find Location webservice description for Slides 4, 5 (API). The Email field should be a link that opens the device's email client to send an email to this client. The Phone field should be a link that opens the device's phone client to call this client.
The Map field should open Google Maps for this location.
The Zillow field should open Zillow for this location.

slide 6 pricing location separation screen

This is the Pricing Location Preparation Screen. Here, a user reviews all necessary information for the Listing Consultation before going to the Collect tab to begin the consultation. During the consultation, the Member User can return to this page at any time by selecting the Prepare Tab. Data displayed here was received from the Find Location webservice on Slides 4,5.
Tab – Prepare tab is highlighted. Collect tab is grayed out and not accessible. Clicking the Find tab will take a user back to Slide 5 (Address Lookup).
Data fields will be enumerated in Find Location webservice description for Slides 4, 5 (API). The Email field should be a link that opens the device's email client to send an email to this client. The Phone field should be a link that opens the device's phone client to call this client.
The Map field should open Google Maps for this location.
The Zillow field should open Zillow for this location.

Address Lookup - Not Found - Slide 5

A user visits the find search page and fill in an address as the Pricing Location Address.
User click on the button Find Location.
The Find tab is highlighted while the Prepare and Collect tabs are grayed and user cannot click on.

error corrections:

error flash notice persisting after login screen
sad path for wrong input address

Time.

Collect the duration for when the user is preparing.

Collect form finish 1/2 SLIDE 9

As a user, when I fill out the collect form, and I click on "finish", a message box should pop up saying "Listing Consultation Complete, time in home" with the internal time clocked from the completion time, and a dismiss button---DATA SHOULD POST TO TRELORA WEB SERVICE(incl timer)

Collect form finish 1/2

As a user, when I fill out the collect form, and I click on "finish", a message box should pop up saying "Listing Consultation Complete, time in home" with the internal time clocked from the completion time, and a dismiss button---DATA SHOULD POST TO TRELORA WEB SERVICE(incl timer)

Slide 1-3 member Login

Member Email – varchar(255)
Employee Member accounts are unique to an email address
Validation – Ensure the field is not nil.
If invalid email: Client Error Message – Member Email Invalid.

Password – varchar(255) – Please use an input type of "password".
Validation – Ensure the field is not nil.
if invalid password: Client Error Message – Password Invalid.

Login – Clicking this button should perform the following:
◦ Data validation on Member Email and Password Fields.
◦ With the Login credentials:
▪ call TRELORA Login Webservice,
▪ Parse HTTP Response Status Code:
• If successful – 200 OK – Get HTTP_AUTH_TOKEN from response. Take user to Slide 4.
• If invalid attempt – 401 Unauthorized
Client Error Message – Display Under Member Email “Invalid Login”

Address Lookup - Slice 4

A user visits the find search page and can fill the form to enter the pricing location address (the field cannot be nil) and can click on the button Find Location.

The Find tab is highlighted while Prepare and Collect are grayed and cannot click on.

Clicking the button Find Location should do the following action :
Call TRELORA Transaction Retrieval Webservice, ▪ Parse HTTP Response Status Code:
• If successful – 200 OK – JSON response will contain Data for Slide 4. Take user to Slide 6.
• If HTTP_AUTH_TOKEN not present or invalid – 401 Unauthorized.

Slide 1-3 member Login view/feature

Member Email – varchar(255)
Employee Member accounts are unique to an email address
Validation – Ensure the field is not nil.
If invalid email: Client Error Message – Member Email Invalid.

Password – varchar(255) – Please use an input type of "password".
Validation – Ensure the field is not nil.
if invalid password: Client Error Message – Password Invalid.

SLIDE 1 Member Auth EP Rajaa/Abdulla

◦ Data validation on Member Email and Password Fields.
◦ With the Login credentials:
▪ call TRELORA Login Webservice,
▪ Parse HTTP Response Status Code:
• If successful – 200 OK – Get HTTP_AUTH_TOKEN from response. Take user to Slide 4.
• If invalid attempt – 401 Unauthorized
Client Error Message – Display Under Member Email “Invalid Login”

Address Lookup - Slide 4

A user visits the find search page and can fill the form to enter the pricing location address (the field cannot be nil) and can click on the button Find Location.

Clicking the button Find Location should do the following action :
Call TRELORA Transaction Retrieval Webservice, ▪ Parse HTTP Response Status Code:

• If successful – 200 OK – JSON response will contain Data for Slide 4. Take user to Slide 6.
CLICKING FIND SHOULD LAND ON PREPARE PAGE

• If HTTP_AUTH_TOKEN not present or invalid – 401 Unauthorized.

Collect tab clicked

As a user, when I click on the collect tab, a "Begin The Listing Consultation" message box pops up with a start button. Other tabs FIND and PREPARE should be clickable and accessible, with all data still populated

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.