This project started as a webpage that was gradually converted to a responsive offline application.
It uses a database helper (ie. dbhelper.js
file) to populate data from the restaurants.json
file.
The main.js
generates the HTML element for the index page, while the restaurant_info.js
renders the restaurant reviews page.
A service worker sw.js
caches the app data for offline storage, allowing users to interact with the app even when offline or with sporadic internet access.
Resources
This project uses the following dependencies:
- Python – read about configuring Python for your system
- Mapbox map API
- Leaflet.js is an open-source library for mobile-friendly maps
- a Service Worker for caching assets for offline use – read more about service workers
- See project setup instructions here
Screenshots of the ‘Restaurant Reviews App’
