Skip to content

Fullstack demo app built with Node.js, Restify, TypeScript, testing, React.js and Google Maps APIs / Geocoding service.

Notifications You must be signed in to change notification settings

obarabanov/demo-fullstack-react.js-with-google-maps-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User stories & Functionality

Background:

As an Account manager I want to be able to manage all property details as a list in a web page.

Story 1:

As an Account manager I want to be able to view the property details as a list in a web page. The property details have following fields:

  1. Owner(Required)
  2. Address
  • Line1 (Required)
  • Line2 (Optional)
  • Line3 (Optional)
  • Line4 (Required)
  • Postcode (Required)
  • City (Required)
  • Country (Required)
  1. IncomeGenerated (Required)

Render the details on the browser in table.

NOTE: Address should only show the details that are present. So if Line3 in the address is empty or null, then do not show a blank or empty line.

Story 2:

We have decided to focus more on central properties. So we have drawn a service area which gives us an idea of properties we can service and no longer service. Please use the address and google-maps api to detect the longitude/latitude. Use this latitude/longitude to detect if the property is within the service area or not. Please use the following radius and center point coordinates that defines the area we can service:

lat: 51.5073835, lng: -0.1277801, radius: 20000, country: 'gb'

How to run

npm install
npm run compile
npm start

Server's logs output will be pre-formatted to be readable.

Testing

To run integration test:

npm test

About

Fullstack demo app built with Node.js, Restify, TypeScript, testing, React.js and Google Maps APIs / Geocoding service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published