This is a sample application that emits webhook events once a CRUD operation is executed from the TODO application.
- Clone the repository:
$ git clone https://github.com/Youngestdev/fastapi-todo-convoy
- Install the dependencies:
$ poetry shell & poetry install
- Create a
.env
and set your Convoy source URL:
WEBHOOK_RECEIVER_URL=<your-convoy-receiver-url>
- Start the application:
$ python run main.py
- Run your application from localhost:8080/docs.
Events are emitted to the Convoy incoming project by the send_webhook_event(event_type)
after an operation is executed.
[ ] Restructure application: move events to different file, create dataclasses. [ ] Add HMAC signature [ ] Rewrite README once blogpost is ready.