Skip to content

udacity-courses/mws-restaurant-stage-1

 
 

Repository files navigation

Mobile Web Specialist Certification Course


Three Stage Course Material Project - Restaurant Reviews

Project Overview

Description

A responsive mobile-first offline capable restaurant finder

Prerequisite

run gulp's default and serve:dist tasks

Installation

You will need to have NodeJs & npm installed in your machine. run npm install to download all associated dependencies.

Steps to run the project:

  1. Run gulp default task in order to:
    • Clean the dist folder.
    • Optimise jpg images and convert them to webp.
    • Optimise css styles.
    • Lint all javascript files.
    • Copy js scripts into dist folder.
    • Copy the service worker into dist.
    • Minify html.
    • copy manifest.json file.
  2. Run gulp serve:dist task
  • Gulp's serve task will mount an http server with unoptimised ES6 scripts and watch for any change on the root folder.

  • Gulp's serve:dist task will mount an https server and minify and uglify and Babel transpile every javascript file on the dist folder and watch for every change on the dist folder.

Aditional notes
  • Configure a commit message template

git config --global commit.template <.git-commit-template.txt file path>

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.8%
  • CSS 15.9%
  • HTML 8.3%