Giter Club home page Giter Club logo

food-festival's Introduction

Food Festival

(Progressive Web Applications (PWA) project)

  • Convert a web application to a PWA, optimize the app's assets for performance, set up webpack in a front-end project, and use service workers to cache assets for offline functionality.

Deployed Site

https://pamelac21.github.io/Food-Festival/

ISSUES

  • Improve website load time
  • Add offline functionality
  • Allow users to download the application as if it were a phone app

skills:

  • Use service workers to cache assets for offline functionality.

  • Convert an existing web application to a PWA.

  • Add a web manifest to your application.

NEW:

Identify performance bottlenecks in web applications.

Explain how performance can be measured in web applications.

Explain the five main categories measured in a Lighthouse audit.

Optimize CSS, JavaScript, and media assets for performance.

Set up webpack in a new front-end project.

Use service workers to cache assets for offline functionality.

Convert an existing web application to a PWA.

Deets:

To address these performance issues, Progressive Web Applications, or PWAs, blend the benefits of a traditional browser experience with those of a mobile application. PWAs can ensure applications work without an internet connection by using the Service Worker and Cache APIs to cache assets and API responses.

You’ll use Chrome DevTools and Google Lighthouse to measure web application performance. DevTools allows you to monitor network traffic and inspect the size of resources downloaded to the browser, like HTML, CSS, JavaScript, and images. Lighthouse provides a performance scoring system based on metrics like application bundle size, time to interaction, time to first meaningful paint, and more.

To deliver smaller application bundle sizes to the client, you'll perform several optimizations that involve compressing assets—from minifying JavaScript and CSS files to compressing images. You’ll also use a technique called lazy loading to defer loading certain assets until they're needed by the application.

We'll conclude with an overview of webpack, a module bundler for JavaScript. webpack simplifies front-end web development by automating many of the aforementioned optimizations.

Steps

Here is an example of a plan we can take:

Perform a high-level analysis of the app.

Deploy the app on GitHub Pages.

Investigate performance issues.

Run a Lighthouse audit.

Optimize files and assets.

Deploy the optimized application.

food-festival's People

Contributors

pamelac21 avatar

Watchers

 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.