This is a project required for fulfillment of the Udacity Front End Web Nanodegree program. It is a mock restaurant finder web application. The user can look up different restaurants by neighborhood or type of cuisine. Reviews are provided to help users make a choice.
The task was to make necessary changes to code provided to us, by Udacity. The site had to be responsive across various platforms, have accessibility features, and make the page available offline, all while keeping it's functionality. Files I added were the sw.js and media_queries.css files. The service worker file contains code I wrote to allow caching of files so that the user can access the web app offline. This demonstrates our ability to adjust code written by someone else and make it comply to specifications that were given to us.
To run this app, you can clone or download the repository. In a terminal window, check which version of Python you have by typing the command python --version. Then use the correct command, given below, for the version of Python you have. If you don't have Python, you can download it from their website.
python -m SimpleHTTPSERVER 8000 (for Python version 2.x)
python3 -m SimpleHTTPSERVER 8000 (for Python version 3.x)
Then in your browser window, go to localhost:8000.
This web application has been tested on Google Chrome and Firefox.
This repository uses leafletjs with Mapbox. Guidance from Doug Brown and Offline Cookbook, with service worker caching.