FastPush for faster push notifications. ๐
Supports Push API for Progressive Web App
- Using Push API for push notifications
- Using BackgroundTasks to send the notifications
- Revalidate notifications page in the frontend after broadcast
- Store subscription and message in PostgreSQL.
- FastAPI
- Supabase PostgreSQL
- Vercel
pip install -r requirements.txt
production
uvicorn app.main:app
development
uvicorn app.main:app --reload
Ready to deploy in Vercel
- Lifespan events are not executed when deployed in Vercel.
Solution: Run it first in the local to create the database and table.