https://github.com/binaryshrey/bubbles-api
https://github.com/binaryshrey/bubbles-api
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/binaryshrey/bubbles-api
- Owner: binaryshrey
- Created: 2024-08-07T09:10:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-30T16:39:01.000Z (about 1 year ago)
- Last Synced: 2025-02-16T11:11:47.312Z (about 1 year ago)
- Language: Python
- Homepage: https://bubbles-api-rqtz.onrender.com/v1/documentation
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bubbles API    
FastAPI service powering Bubbles app
## Getting Started
1. Activate virtual-env
```zsh
cd Bubbles-API
python3 -m venv bubbles-api-env
. bubbles-api-env/bin/activate
```
2. Install dependencies
```zsh
pip install -r requirements.txt
```
3. Start server
```zsh
uvicorn main:app --reload
```
4. Open API docs
```zsh
http://127.0.0.1:8000/v1/documentation
```
## Configs
- Connect and enable Firebase-Storage
- Connect and enable Supabase-PostgreSQL
- Connect and enable Upstash-Redis
- Create a .env file for Supabase-PostgreSQL, Firebase-Storage Admin, Upstash-Redis
```
DB_HOST=****-****
DB_NAME=****-****
DB_PASSWORD=****-****
DB_USERNAME=****-****
REDIS_HOST=****-****
REDIS_PASSWORD=****-****
REDIS_PORT=****-****
REDIS_USER=****-****
REDIS_URL=****-****
TYPE=****-****
PROJECT_ID=****-****
PRIVATE_KEY_ID=****-****
PRIVATE_KEY=****-****
CLIENT_EMAIL=****-****
CLIENT_ID=****-****
AUTH_URI=****-****
TOKEN_URI=****-****
AUTH_PROVIDER_X509_CERT_URL=****-****
CLIENT_X509_CERT_URL=****-****
UNIVERSE_DOMAIN=****-****
FIREBASE_CLOUD_STORAGE_BUCKET=****-****
BUBBLE_LINK_EXPIRATION_MIN=****-****
```