https://github.com/ararog/health_up
A whatsapp bot to make health appointments scheduling easier.
https://github.com/ararog/health_up
boilerplate chatbox fastapi pydantic pydantic-ai python3 sqlmodel
Last synced: about 2 months ago
JSON representation
A whatsapp bot to make health appointments scheduling easier.
- Host: GitHub
- URL: https://github.com/ararog/health_up
- Owner: ararog
- Created: 2025-02-23T19:51:06.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2025-02-23T22:12:41.000Z (about 2 months ago)
- Last Synced: 2025-02-23T23:19:54.705Z (about 2 months ago)
- Topics: boilerplate, chatbox, fastapi, pydantic, pydantic-ai, python3, sqlmodel
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Health Up
A quick and easy way to schedule your health appointments.
## License
MIT
## Requirements
Python 3.6
PostgreSQL 16.0
uv
ngrok or loclx## Installation
### Clone the repository:
```bash
git clone https://github.com/ararog/health_up.git
```### Update the .env file:
```plaintext
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_NUMBER=
DB_SERVER=
DB_NAME=
OPENAI_API_KEY=
TO_NUMBER=
```### Server setup:
1. Create a Twilio account and get your account SID and auth token.
2. Update the .env file with your Twilio account SID, auth token, and twilio phone number, your phone number, and openai api key.## Starting server
```bash
cd health_up
uv sync
uv run fastapi run
```## Starting ngrok or loclx
```bash
ngrok http 8000
```
or```bash
loclx http 8000
```## Update the webhook URL in your Twilio account
1. In twillio console, go to Develop tab
2. Click on Messaging - Try it out - Send a whatsapp message
3. Click on Sandbox Settings
4. On [When a message comes in] field, enter the ngrok or loclx URL with /messages appended to the end.## Testing
Open your whatsapp and send a message to your twilio number.