For the Restaurant Reviews projects, you will incrementally convert a static webpage to a mobile-ready web application. In Stage Two, you will take the responsive, accessible design you built in Stage One and connect it to an external server. You’ll begin by using asynchronous JavaScript to request JSON data from the server. You’ll store data received from the server in an offline database using IndexedDB, which will create an app shell architecture. Finally, you’ll work to optimize your site to meet performance benchmarks, which you’ll test using Lighthouse.
- Clone the server repository:
https://github.com/udacity/mws-restaurant-stage-3.git
npm install
npm install sails -g
node server
- Clone this repository and navigate in the root folder
- Run
npm install
to install all the dependencies - To run the app without problems, please disable warnings for self signed certificate in Chrome:
chrome://flags/#allow-insecure-localhost
and select Enabled - Run
gulp run
to start the app (the server should run on HTTP2)
Enjoy!