https://github.com/jonaskuske/restaurant-reviews
🍔 Little web app for showing, filtering and adding restaurant reviews
https://github.com/jonaskuske/restaurant-reviews
Last synced: about 1 year ago
JSON representation
🍔 Little web app for showing, filtering and adding restaurant reviews
- Host: GitHub
- URL: https://github.com/jonaskuske/restaurant-reviews
- Owner: jonaskuske
- Created: 2018-08-22T18:23:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-16T13:41:37.000Z (almost 6 years ago)
- Last Synced: 2025-02-05T00:42:29.635Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 4.34 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# MWS project "restaurant" - Stage 3
Repository for my restaurant project of Udacity's MWS nanodegree.
> Stage 1: The restaurant site now is responsive, utilizes a service worker for static and runtime caching and has improved accessibility.
> Stage 2: The project now receives data from a dynamic backend, which is stored/cached in IndexedDB.
> Stage 3: The project allows adding new user reviews which are synced in the background, marking/unmarking restaurants as favorite and has performance improvements.
The commits starting from [*#473a4b9*](https://github.com/jonaskuske/mws-restaurant-3/commit/473a4b9b98e1d8644a37062173f29680763c8503) are the relevant ones for stage 3.
## Instructions
`npm install` to install frontend dependencies (live-server)
`npm run install:backend` to install backend dependencies
`npm start` to start both backend and frontend
`npm run build` to compile a minified production-grade version
`npm run serve:backend` to start backend on localhost:1337
`npm run serve:frontend` to serve frontend on localhost:8000 and open in Chrome
### About evaluating the performance in Lighthouse
To test the performance, please use the production-grade version of this app, not the one generated for the live server!
The production version can be built using `npm run build` and is then found in the folder 'dist'.
Also, please remember to run Lighthouse in an Incognito-Tab, so browser extensions etc. can't skew the results.