This project is for the Mobile Web Specialist Course on Udacity. The Project Invloved making a website a performant Progressive Web Application (PWA).
The main folder for this project is in the src
folder. When a production build is made, it is outputed to the a dist
folder.
This project requires a backend server. Go here to get the backend server of this project.
- Make sure you have node (version 8 and above) installed on your local machine
- Run
npm install
on the root folder to install dependencies - Run
npm start
orgulp
to start the gulp task which will start the server for development onhttp://localhost:8000
- Run
npm dist
orgulp dist
to make a production build. It will also start a local server for the production build onhttp://localhost:8080
- Make sure to place new images in the
app/images
folder as there is a gulp task that produces optimized images from there. - For the gulp
imageResize
task, make sure you havegraphicsmagick
andimagemagick
installed on your machine
The explore all features of this project, you would need a browser with PWA support. The application will still work on browsers that dont support PWA features, but the PWA features won't just work.
- Edit gulp file to have a better build process.
- Break
app/scripts/dbhelper.js
file into smaller files. - Write all promise funtions with
aysnc
andawait
format. - Paginate Reviews in restaurants page
- Move Google maps key and port configs into an
.env
file