Initial commit for resumeformatter project
This commit is contained in:
8
backend/main.py
Normal file
8
backend/main.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import uvicorn
|
||||
import os
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Use environment variables or default values
|
||||
host = os.getenv("HOST", "0.0.0.0")
|
||||
port = int(os.getenv("PORT", "8080"))
|
||||
uvicorn.run("app.main:app", host=host, port=port, reload=True)
|
||||
Reference in New Issue
Block a user