This commit is contained in:
Mann Patel
2026-02-14 21:13:12 -07:00
parent 01ad42f6a1
commit e557c51079
24 changed files with 5078 additions and 0 deletions

23
backend/main.py Normal file
View File

@@ -0,0 +1,23 @@
import os
from flask import Flask, jsonify
from flask_cors import CORS
from dotenv import load_dotenv
load_dotenv()
app = Flask(__name__)
CORS(app)
@app.get("/")
def health_check():
return jsonify({
"status": "running",
"service": "VoiceVault API"
})
# Import and register blueprint
from api_routes import api
app.register_blueprint(api)
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000, debug=True)