As part of the Udacity journey, we are assigned the Restaurant Reviews projects, in which we have to convert a static webpage to a mobile-ready web application. Further than that the website need to be redesigned to be responsive on different sized displays and accessible for screen reader use. Last but not least, a service worker is added to begin the process of creating a seamless offline experience for the users.
- Clone this repository with
https://github.com/hhhoang/udacity-restaurant-review.git
or simply download the ZIP file. - In the root of the folder you have just cloned or downloaded, start up a simple HTTP server to serve up the site files on your local computer. Python has some simple tools to do this, and you don't even need to know Python. For most people, it's already installed on your computer.
- In a terminal, check the version of Python you have:
python -V
. If you have Python 2.x, spin up the server withpython -m SimpleHTTPServer 8000
(or some other port, if port 8000 is already in use.) For Python 3.x, you can usepython3 -m http.server 8000
. If you don't have Python installed, navigate to Python's website to download and install the software. - Note - For Windows systems, Python 3.x is installed as
python
by default. To start a Python 3.x server, you can simply enterpython -m http.server 8000
.
- In a terminal, check the version of Python you have:
- With your server running, visit the site:
http://localhost:8000
, and look around for a bit to see what the current experience looks like.
- Leaflet.js and Mapbox:
This repository uses leafletjs with Mapbox. You need to replace <your MAPBOX API KEY HERE>
with a token from Mapbox. Mapbox is free to use, and does not require any payment information.
Note: My MAPBOX API KEY will be removed after submission.
-
Normalise.css
-
Google font Montserrat
This repository is using the starter code for Udacity students. If you have any improvements for the code, I am happy to accept the great pull request and merge to the project.