Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.
/ challenge-1 Public archive

Javascript Application to Search Restaurant based on the outcode (postal code)

License

Notifications You must be signed in to change notification settings

sachq/challenge-1

Repository files navigation

Restaurant Tracker

A Javascript application to track restaurant based on location specifically Outcode (postal code).

Setup

Install all the necessary dependencies

$ npm install

Running the Web App

The app runs on webpack dev server

$ npm start

Note

  • Used starter pack Webpack App Starter
  • Used Material components to make the page look more snazzy. Components used are:
    • Text field
    • Button
  • Geolocation is not fully integrated into the app; right now, it will ask for user consent and display the coordinates in the console. There are two good approaches to implement it:
    • By calculating the distance between the user and restaurant using the geo-coordinates: https://www.geodatasource.com/developers/javascript
    • or By using Google Maps API (geocoding) to get postal_code of the location and filtering through our Restaurant Data.
  • Restaurants are sorted based on their rating.

About

Javascript Application to Search Restaurant based on the outcode (postal code)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published