This is a restaurant reviews's app
- Install the latest version of
node.js
- Install
git
- Install Chrome Canary navigator (important for the latest features and improvements of Lighthouse audits):
https://www.google.com/intl/fr_ALL/chrome/canary/
- Clone the server repo:
git clone https://github.com/udacity/mws-restaurant-stage-3.git
- cd into the folder and run
npm install
thennode server
to start the server
- Clone the web app repo:
git clone https://github.com/fidele137/mws-restaurant-stage-1.git
- cd into the folder and run
npm install
- This project uses http2 which requires https. In order to enable localhost to be treated as secure, go to
chrome://flags
and enableallow-insecure-localhost
- Run
npm run start
to bootstrap the app - Navigate to
https://localhost:/8443
and clickProceed to localhost
in theAdvanced settings
to see the project
- Run
openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=localhost' -keyout config/localhost-privkey.pem -out config/localhost-cert.pem