Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.22 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.22 KB

PWA Restaurant App

Project Overview

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.

Instructions

Start the API server

  1. Clone the server repository: https://github.com/udacity/mws-restaurant-stage-3.git
  2. npm install
  3. npm install sails -g
  4. node server

Start the app

  1. Clone this repository and navigate in the root folder
  2. Run npm install to install all the dependencies
  3. To run the app without problems, please disable warnings for self signed certificate in Chrome: chrome://flags/#allow-insecure-localhost and select Enabled
  4. Run gulp run to start the app (the server should run on HTTP2)

Enjoy!