mvdam / nextjs-webpush

WebPush with Next.js

Home Page:https://icy-island-0a0b23d03.3.azurestaticapps.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Native Apps Are Dead - WebPush on iOS with Next.js!

WebPush PWA

This is an example Next.js project with a working implementation of WebPush in a PWA for iOS and Android. It uses Next.js, TypeScript, web-push and deploys to Azure Static Web Apps. For more information see my tutorial!

Running locally

Start development server:

yarn install
yarn dev

Docker

Build and run Docker container:

docker build -t nextjs-docker .
docker run -p 3000:3000 nextjs-docker

Deployed app

This example app is currently deployed on Azure Static Web Apps: https://icy-island-0a0b23d03.3.azurestaticapps.net/.

Instances are shut down when not used for some time. It could take a few seconds to start the app when clicking the link.

Link to example app.

Questions / Feedback

Feel free to open an issue on this repository when you have a question or feedback. Much appreciated!

About

WebPush with Next.js

https://icy-island-0a0b23d03.3.azurestaticapps.net/


Languages

Language:TypeScript 54.1%Language:CSS 25.2%Language:Dockerfile 16.5%Language:JavaScript 4.3%