A middleware between Http and Web Push Notifications
- .NET 6
- ASP.NET Core 6
- Blazor WebAssembly
- Typescript
- TailwindCSS
appsettings.json
{
"ConnectionStrings": {
"HttpToWebPush": ""
},
"HttpToWebPush": {
"PushApi": {
"subject": "",
"publicKey": "",
"privateKey": ""
}
}
}
docker-compose.yml
version: '3'
services:
grafana:
image: ghcr.io/patrick-b6n/http-to-web-push:latest
container_name: http-to-web-push
restart: always
volumes:
- ${PWD}/appsettings.json:/app/appsettings.json
Database
docker-compose up
Backend
cd ./src/HttpToWebPush.Server/
dotnet watch
Frontend
cd ./src/HttpToWebPush.UI/
yarn watch-ts # watch for typescript changes
yarn watch-css # watch for css changes
yarn build-sw # build serviceworker
# TODO: combine into one command
- Reference implementation and Lib Tomasz Pęczek