feat: add full project - backend, frontend, docker, specs and configs
This commit is contained in:
parent
b77c7d5a01
commit
e6cb06255b
24489 changed files with 61341 additions and 36 deletions
11
backend/app/routes/config.py
Normal file
11
backend/app/routes/config.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import os
|
||||
from flask import Blueprint, jsonify
|
||||
|
||||
config_bp = Blueprint("config", __name__)
|
||||
|
||||
|
||||
@config_bp.get("/api/v1/config/whatsapp")
|
||||
def get_whatsapp_config():
|
||||
"""Returns the configured WhatsApp number (no auth required)."""
|
||||
number = os.environ.get("WHATSAPP_NUMBER", "")
|
||||
return jsonify({"whatsapp_number": number})
|
||||
Loading…
Add table
Add a link
Reference in a new issue