an app that texts you curated quotes, periodically.
Uses my favourite libraries like FastAPI, Pydantic, together in a server to manage quotes and receivers. there is a consumer built with asyncio and aiottp, managed by a main module and runs forever. some techniques for async programming, object-oriented design and error handling are there with the style of Python I enjoy.
Using Docker, you can easily set up and run the application:
$ docker-compose up
the go to localhost:80/docs/
in your browser.
Ensure you have Docker and Docker Compose installed. The application also requires Twilio account credentials (TWILIO_ACCOUNT_SID
, TWILIO_AUTH_TOKEN
, and TWILIO_FROM_PHONENUMBER
) and
an api key (FORTUNE_COOKIE_API_KEY
).
- Clone the repository.
- Rename
.env.sample
to.env
and add your Twilio credentials. - Run
docker-compose up
.
You'll need an API key to register your phone number and start receiving quotes.