Code Monkey home page Code Monkey logo

wino-mws-restaurants-3's Introduction

Mobile Web Specialist Certification Course


Three Stage Course Material Project - Restaurant Reviews

Project Overview: Stage 3

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 Two 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

For up to date instructions go to docs

To Run This Project Locally

  1. Clone or Download this repository. For this project to work you will need to have node installed, npm, and the grunt-cli.

  2. As soon as you have that installed you will need to run npm install

  3. Then navigate to the API by going to the server folder. cd server, then run npm install there too npm install.

  4. When the node modules are ready in both folders, run npm run server in one terminal window to get the server going then open a another terminal window and run npm run client to get the gulp server. This will also run grunt to process the images, and then gulp's browser sync.

I foolishly started my work on my laptop, and then jumped to my desktop computer to finish the rest of it. Foolish because I have set up each environment up to be as similar as possible, but one is running Windows 10, and the other is running MacOs High Sierra. Some things are bound to be different, but the main thing that was affecting me locally was the version of Python. One system has 2.6+ and the other 3.6+ so I created some additional scripts to run a static server with each version of python.

For Python 3 - npm run static:python3

For Python 2 - npm run static

Screenshots

Gif of the version two of the site

Hosted Version of the Site

https://sherwino.github.io/wino-mws-restaurants-3/dist/

Things I have learned

It is not smart to spend all of your time editing a Gulp && Grunt file that is not even being executed in the first place. The whole time I was editing the files inside the src folder, but those are not the ones running with my start scripts. No wonder I haven't been seeing any results.

GoogleMaps has lowered my lighthouse 3.0 score, and I don't know how to fix it yet. View my last score here and if you have any pointers on how I could improce this let me know.

wino-mws-restaurants-3's People

Contributors

sherwino avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.