LeiShi1313 / serverless-notify

FastAPI app integrated with multiple notification methods, and it's serverless

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

serverless-notify

A FastApi project integrated with serverless, with auto-generated interfaces that you can easily send notifications to multiple endpoints. Currently integrated with:

How to start locally

git clone https://github.com/LeiShi1313/serverless-notify.git
cd serverless-notify
npm install
pip install -r requirements.txt
uvicorn app:app --reload

and then open http://localhost:8000/docs to see auto-generated API docs and play with it!

How to deploy to AWS Lambda

export SENDGRID_API_KEY=XXXXXXX
export IFTTT_KEY=XXXXXXXX
export PUSHBULLET_ACCESS_TOKEN=XXXXXXXXXXXXX
export SERVER_CHAN_SCKEY=XXXXXXXXXXXX
export TELEGRAM_BOT_TOKEN=XXXXXXXXXXXXX
sls deploy

About

FastAPI app integrated with multiple notification methods, and it's serverless

License:MIT License


Languages

Language:Python 100.0%