/pwa-bookit-sample

A sample showing how some PWA features can be applied to a PETAL stack Elixir, LiveView web application.

Primary LanguageElixir

PWA

LiveView configured as a Progressive Web Application.

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Project Notes

Created the project using:

mix phx.new pwa --live --no-ecto

Generated LiveView resource pages

mix phx.gen.live Books Book books title:string author:string

Resources

Project

PWA Resources

Understanding the State of the Art

Deals with platform differences and things like Push Notifications.