Aller au contenu principal
Academind
Tous les cours

Cours Academind Pro

Progressive Web Apps (PWA) - The Complete Guide

Build a Progressive Web App (PWA) that feels like an iOS & Android App, using Device Camera, Push Notifications and more

  • 14 sections · 206 leçons
  • 14 h et 51 min au total
Progressive Web Apps (PWA) - The Complete Guide

À propos de ce cours

You can build solid websites—but when you compare them to native apps, something feels missing: installability, offline behavior, and those “this belongs on my phone” touches. You don’t want to ship a second codebase or force users through an app store just to get a modern experience.

In this course, you’ll take a plain HTML/CSS/JavaScript web app and progressively add the capabilities that define a Progressive Web App. You’ll work with the browser features that make PWAs fast, engaging, and reliable, and you’ll see how to validate your work with Google’s auditing approach.

By the end, you’ll be able to ship a web app that behaves like a mobile app on iOS and Android: installable from the browser, resilient when the connection drops, and able to interact with real device capabilities. You’ll also know how to apply the same upgrade path to your next single-page app so it can deliver a PWA experience too.

Ce que vous allez apprendre

You’ll implement the specific building blocks that make a PWA installable, offline-ready, and engagement-focused—then tune it to hit a top score in Google’s Lighthouse PWA audit.

  1. 01

    Make apps installable

    Create and configure an app manifest so your web app can be added to a device home screen and launched like an app, with the right metadata and app-like presentation.

  2. 02

    Offline-first with caching

    Use service workers to cache assets and keep your app usable without an internet connection, then apply more advanced caching strategies for better reliability and performance.

  3. 03

    Workbox-powered service workers

    Integrate Workbox to simplify service worker management, so you can maintain caching behavior more easily as your app grows without hand-writing every low-level detail.

  4. 04

    Push notification engagement

    Add web push notifications to re-engage users and improve retention, understanding the key steps required to deliver notifications from the web in a PWA context.

  5. 05

    Background data sync

    Implement background synchronization so data can be sent even if the connection is lost, allowing your app to recover gracefully and complete work once the network returns.

  6. 06

    Use device capabilities

    Access native-like features such as the camera and geolocation from your web app, so your PWA can do more than display content and can interact with the device.

Prérequis

  • Basic knowledge of HTML, CSS, and JavaScript.

  • No experience with JavaScript frameworks (like Angular or React) is required.

À qui s’adresse ce cours

  • Web developers

    You already build for the browser and want to be ready for where modern web development is headed. This course shows you how to deliver app-like experiences without abandoning the web.

  • HTML/CSS/JS builders

    You enjoy working close to the platform and want to push browser capabilities further than “just a website.” You’ll get a clear path to turning your existing skills into PWA-ready skills.

  • Experience-focused creators

    You care about giving users the best possible experience—especially when connectivity is unreliable or attention is hard to keep. This course helps you make your web app feel reliable and engaging across browsers, including older ones.

Programme

Découvrez la structure et le rythme de ce cours avant de commencer.

  1. 1Getting Started13 leçons · 47 min
    1. 01About this Course2:06 min
    2. 02What are Progressive Web Apps?3:24 min
    3. 03PWAs vs Native Mobile Apps6:07 min
    4. 04Join our Online Learning Community0:00 min
    5. 05A Demo PWA & What We'll Build in this Course6:24 min
    6. 06Our First Progressive Web App6:27 min
    7. 07PWA Core Building Blocks3:19 min
    8. 08Comparing PWAs and SPAs3:17 min
    9. 09What is "Progressive Enhancement"?3:23 min
    10. 10Course Outline4:24 min
    11. 11Course Project Setup6:09 min
    12. 12How to get the Most out of this Course2:11 min
    13. 13The Academind Pro Referral Program0:00 min
  2. 2Understanding the App Manifest14 leçons · 45 min
    1. 01Module Introduction1:01 min
    2. 02Using an App Manifest to Make your App Installable1:36 min
    3. 03Adding the Manifest3:40 min
    4. 04Understanding App Manifest Properties9:43 min
    5. 05Adding Properties to the App Manifest9:44 min
    6. 06PWAs and Browser Support2:16 min
    7. 07Using the Chrome Developer Tools1:35 min
    8. 08Simulating the Web App on an Emulator4:36 min
    9. 09Installing the Web App - Prerequisites2:30 min
    10. 10Quiz: Understanding manifest.json0:00 min
    11. 11Adding Properties for Safari5:50 min
    12. 12Adding Properties for the Internet Explorer2:30 min
    13. 13Wrap Up0:28 min
    14. 14Useful Resources & Links0:00 min
  3. 3The Service Workers15 leçons · 56 min
    1. 01Module Introduction0:40 min
    2. 02Why Service Workers Are Amazing!4:40 min
    3. 03Understanding Service Worker Events6:18 min
    4. 04The Service Worker Lifecycle5:19 min
    5. 05Service Worker Browser Support1:24 min
    6. 06Registering a Service Worker9:26 min
    7. 07Reacting to Incoming Events (in SW)5:39 min
    8. 08Updating & Activating Service Workers3:00 min
    9. 09Non-Lifecycle Events4:49 min
    10. 10Getting that "App Install Banner"2:40 min
    11. 11Testing the App on Real Device (and Installing the App!)3:42 min
    12. 12Deferring the App Install Banner6:43 min
    13. 13Wrap Up1:20 min
    14. 14Service Worker - FAQ0:00 min
    15. 15Useful Resources & Links0:00 min
  4. 4Promise and Fetch15 leçons · 52 min
    1. 01Module Introduction0:49 min
    2. 02Async Code in JavaScript3:54 min
    3. 03Promises - Basics4:40 min
    4. 04Rejecting Promises4:05 min
    5. 05Where we Use Promises in our Project2:25 min
    6. 06Fetch - Basics6:11 min
    7. 07Sending Post Requests via Fetch4:22 min
    8. 08Fetch and CORS3:12 min
    9. 09Comparing Fetch and Ajax3:04 min
    10. 10Adding Polyfills (for Legacy Browser Support)3:29 min
    11. 11Fetch & Service Workers2:05 min
    12. 12Assignment: Fetch & Promises (Problem)4:44 min
    13. 13Assignment: Fetch & Promises (Solution)8:03 min
    14. 14Wrap Up0:56 min
    15. 15Useful Resources & Links0:00 min
  5. 5Service Workers - Caching20 leçons · 1 h et 40 min
    1. 01Module Introduction0:43 min
    2. 02Why Caching?3:06 min
    3. 03Understanding the Cache API4:00 min
    4. 04Browser Support1:49 min
    5. 05Adjusting the Course Project2:53 min
    6. 06Identifying (Pre-)Cacheable Items3:07 min
    7. 07Static Caching/ Precaching11:04 min
    8. 08Retrieving Items from the Cache4:55 min
    9. 09Adding & Retrieving Multiple Files (to/ from Cache)3:05 min
    10. 10Cache Multiple Files with addAll9:10 min
    11. 11Dynamic Caching - The Basics1:54 min
    12. 12Implementing Dynamic Caching7:19 min
    13. 13Handling Errors2:13 min
    14. 14Adding Cache Versioning6:56 min
    15. 15Different Cache Versions & Cleanup6:37 min
    16. 16Optimizing Cache Management2:42 min
    17. 17Assignment: Service Workers & Caching (Problem)6:05 min
    18. 18Assignment: Service Workers & Caching (Solution)21:51 min
    19. 19Wrap Up0:35 min
    20. 20Useful Resources & Links0:00 min
  6. 6Service Workers - Advanced Caching24 leçons · 1 h et 51 min
    1. 01Module Introduction1:12 min
    2. 02Module Preparation: Adding a Button4:04 min
    3. 03Offering "Cache on Demand"6:51 min
    4. 04Providing an Offline Fallback Page6:21 min
    5. 05Strategy: Cache with Network Fallback1:43 min
    6. 06Strategy: Cache Only3:06 min
    7. 07Strategy: Network Only1:57 min
    8. 08Strategy: Network with Cache Fallback6:21 min
    9. 09Strategy: Cache then Network9:04 min
    10. 10Cache then Network & Dynamic Caching5:11 min
    11. 11Cache then Network with Offline Support5:59 min
    12. 12Cache Strategies & "Routing"3:09 min
    13. 13Applying Cache Only5:45 min
    14. 14Assignment: Advanced Caching (Problem)3:54 min
    15. 15Assignment: Advanced Caching (Solution)25:52 min
    16. 16A Better Way Of Parsing Static Cache URLs2:40 min
    17. 17Making Route Matching More Precise0:00 min
    18. 18A Better Way Of Serving Fallback Files2:57 min
    19. 19Post Request and Cache API3:18 min
    20. 20Cleaning/ Trimming the Cache6:06 min
    21. 21Getting Rid of a Service Worker3:49 min
    22. 22Preparing the Project for the Next Steps0:28 min
    23. 23Wrap Up0:57 min
    24. 24Useful Resources & Links0:00 min
  7. 7IndexedDB and Dynamic Data17 leçons · 1 h et 7 min
    1. 01Module Introduction1:01 min
    2. 02Understanding the Basics1:12 min
    3. 03Setting Up Firebase7:19 min
    4. 04Connecting Frontend to Backend8:31 min
    5. 05Dynamic Caching vs. Caching Dynamic Content4:51 min
    6. 06Introducing IndexedDB3:34 min
    7. 07IndexedDB Browser Support0:38 min
    8. 08Adding the IDB File2:31 min
    9. 09Storing Fetched Posts in IndexedDB13:11 min
    10. 10Using IndexedDB in the Service Worker3:56 min
    11. 11Reading Data from IDB6:40 min
    12. 12Clearing IDB & Handling Server-Client Mismatch3:40 min
    13. 13Implementing the Clear Database Method3:58 min
    14. 14Deleting Single Items from the Database4:05 min
    15. 15IndexedDB and Caching Strategies1:33 min
    16. 16Wrap Up0:45 min
    17. 17Useful Resources & Links0:00 min
  8. 8Creating a Responsive User Interface (UI)10 leçons · 37 min
    1. 01Module Introduction1:18 min
    2. 02Responsive Design in this Course2:51 min
    3. 03Understanding Responsive Design in our Project3:30 min
    4. 04CSS and Media Queries9:46 min
    5. 05Want to see more of your Images?0:00 min
    6. 06Using Images in a Responsive Way8:52 min
    7. 07Adding Animations8:29 min
    8. 08The Viewport & Scaling1:46 min
    9. 09Wrap Up0:46 min
    10. 10Useful Resources & Links0:00 min
  9. 9Background Sync12 leçons · 1 h et 3 min
    1. 01Module Introduction1:04 min
    2. 02How does Background Sync Work?3:33 min
    3. 03Adding the Basic Setup to our Project4:04 min
    4. 04Registering a Synchronization Task4:37 min
    5. 05Storing our Post in IndexedDB6:00 min
    6. 06Adding a Fallback4:12 min
    7. 07Syncing Data in the Service Worker15:52 min
    8. 08Understanding Periodic Sync2:16 min
    9. 09Adding Server Side Code15:11 min
    10. 10Fixing Errors5:20 min
    11. 11Wrap Up0:49 min
    12. 12Useful Resources & Links0:00 min
  10. 10Web Push Notifications24 leçons · 1 h et 48 min
    1. 01Module Introduction1:04 min
    2. 02Why we need Web Push Notifications1:56 min
    3. 03How Push & Notifications Work9:04 min
    4. 04Displaying Notifications - Some Theory First1:52 min
    5. 05Browser Support2:02 min
    6. 06Requesting Permissions8:07 min
    7. 07Displaying Notifications3:38 min
    8. 08Notifications from Within the Service Worker3:33 min
    9. 09Understanding Notifications' Options8:49 min
    10. 10Advanced Options2:58 min
    11. 11Adding Actions to Notifications2:23 min
    12. 12Reacting to Notification Interaction - Clicks5:21 min
    13. 13Reacting to Notification Interaction - Closing2:36 min
    14. 14From Notifications to Push Messages6:36 min
    15. 15Creating a Push Subscription4:32 min
    16. 16Storing Subscriptions10:50 min
    17. 17Connecting Server & Client (PWA)1:45 min
    18. 18Sending Push Messages from the Server9:55 min
    19. 19Listening to Push Messages7:39 min
    20. 20Displaying Push Notifications on a Real Device2:03 min
    21. 21Opening a Page upon User Interaction5:45 min
    22. 22Improving our Code4:28 min
    23. 23Wrap Up1:16 min
    24. 24Useful Resources & Links0:00 min
  11. 11Native Device Features16 leçons · 1 h et 33 min
    1. 01Module Introduction0:55 min
    2. 02Preparing the Project7:28 min
    3. 03Getting DOM Access4:35 min
    4. 04Creating our own Polyfills8:04 min
    5. 05Getting the Video Image7:25 min
    6. 06Hooking Up the Capture Button6:24 min
    7. 07Storing the Image on a Server8:40 min
    8. 08MUST READ: Firebase Cloud Functions & Billing0:00 min
    9. 09Accepting File Upload Example with Firebase14:36 min
    10. 10Testing the Camera & Upload4:51 min
    11. 11Implementing a Fallback2:30 min
    12. 12Getting the User Position16:38 min
    13. 13Fixing Bugs8:46 min
    14. 14Testing the App on a Real Device1:43 min
    15. 15Wrap Up0:47 min
    16. 16Useful Resources & Links0:00 min
  12. 12Service Worker Management with Workbox18 leçons · 1 h et 10 min
    1. 01Module Introduction1:01 min
    2. 02Understanding the Basics0:55 min
    3. 03The Workbox Version Used In This Course0:00 min
    4. 04Installing Workbox & Using It6:56 min
    5. 05Configuring Workbox Precaching5:02 min
    6. 06Customizing the Service Worker4:45 min
    7. 07Implementing Routing with the Workbox Router6:41 min
    8. 08Expanding Dynamic Caching3:31 min
    9. 09Options and Setting Up Strategies6:09 min
    10. 10Custom Handlers (Example: For IndexedDB)3:45 min
    11. 11Providing an Offline HTML Fallback6:47 min
    12. 12Handling Background Synchronisation and Push Notifications3:26 min
    13. 13Understanding the Workbox Documentation5:17 min
    14. 14Enhancing the Build Workflow6:30 min
    15. 15Running our App on a Real Server3:56 min
    16. 16Auditing our Webpage with Lighthouse4:24 min
    17. 17Wrap Up1:11 min
    18. 18Useful Resources & Links0:00 min
  13. 13SPAs and PWAs7 leçons · 37 min
    1. 01Module Introduction1:18 min
    2. 02React with create-react-app9:29 min
    3. 03A General Note about SPAs and PWAs1:28 min
    4. 04Angular with the CLI16:34 min
    5. 05Vue with Vue CLI6:49 min
    6. 06Wrap Up1:00 min
    7. 07Useful Resources & Links0:00 min
  14. 14Course Roundup1 leçon · 3 min
    1. 01Roundup3:21 min

Prêt à commencer ?

Achetez ce cours sur Academind Pro, ou obtenez tous les cours avec All Access sur Academind Infinite.

Black Friday : un an d’All Access pour 249 $US 249 $US · seulement jusqu’au Profitez de l’offre
  • Ce cours sur Academind Pro

    69 $USpaiement unique

    TVA incluse · Satisfait ou remboursé pendant 30 jours

    • Accès à vie à ce cours
    • Toutes les futures mises à jour de ce cours
    • Ressources téléchargeables, code et un certificat
    Acheter PWAs
  • All Access sur Academind Infinite

    25 $USpar mois

    ou 249 $US 249 $US par anÉconomisez 17 %

    • Tous les cours, avec toutes leurs fonctionnalités
    • Les nouveaux cours dès leur sortie
    • Votre tuteur, avec toutes ses fonctionnalités
    Obtenir All Access

All Access inclut aussi tous les cours Academind Pro.

Academind Pro et Academind Infinite

Deux plateformes distinctes, chacune avec ses propres cours et sa propre connexion.

Academind Pro

Notre plateforme de cours d’origine, sur pro.academind.com. Votre abonnement Pro et les cours que vous y avez achetés restent sur Pro.

Se connecter à Academind Pro

Academind Infinite

Notre nouvelle plateforme pensée pour l’IA. Les membres Pro se connectent avec leur compte Pro, et l’offre Pro All Access inclut Infinite : tous les cours leur sont ouverts.

Se connecter à Academind Infinite

Vous aviez un compte Pro ou avez acheté un cours sur Pro ?

Tous les cours Pro ne sont pas passés sur Infinite, seulement ceux-ci. Choisissez le vôtre pour le voir sur Infinite.