Skip to content

Commit

Permalink
Remove fastapi from poetry packages
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnySc2 committed Jan 25, 2024
1 parent ffd81c2 commit a098c27
Show file tree
Hide file tree
Showing 13 changed files with 359 additions and 462 deletions.
13 changes: 0 additions & 13 deletions fastapi_server/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@
"POSTGRES_CONNECTION_STRING": "postgresql://postgres:123@localhost:5432/postgres",
}
},
{
"name": "Fastapi Server: Start",
"type": "python",
"request": "launch",
"cwd": "${workspaceFolder}",
"program": "main.py",
"console": "integratedTerminal",
"justMyCode": true,
"env": {
"PYDEVD_DISABLE_FILE_VALIDATION": "1",
"POSTGRES_CONNECTION_STRING": "postgresql://postgres:123@localhost:5432/postgres",
}
},
{
"name": "Fastapi Server: Start LiteStar",
"type": "python",
Expand Down
6 changes: 3 additions & 3 deletions fastapi_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from pathlib import Path
from typing import Literal

import uvicorn # pyre-fixme[21]
import uvicorn
from dotenv import load_dotenv
from litestar import Litestar, MediaType, get
from litestar.contrib.jinja import JinjaTemplateEngine
Expand All @@ -14,7 +14,7 @@
from models.todo_item import todo_create_tables
from routes.hello_world import MyRootRoute
from routes.htmx_todolist import MyTodoRoute
from routes.login_logout2 import MyLoginRoute, MyLogoutRoute
from routes.login_logout import MyLoginRoute, MyLogoutRoute

# from routes.similar_words import MyWordsRoute
from routes.text_to_speech import MyTTSRoute
Expand Down Expand Up @@ -86,5 +86,5 @@ def shutdown_event():
port=8000,
reload_delay=5,
reload=BACKEND_SERVER_URL == "0.0.0.0:8000",
debug=True,
# debug=True,
)
Empty file removed fastapi_server/helper/__init__.py
Empty file.
28 changes: 0 additions & 28 deletions fastapi_server/helper/app-key.pem

This file was deleted.

24 changes: 0 additions & 24 deletions fastapi_server/helper/app.pem

This file was deleted.

31 changes: 0 additions & 31 deletions fastapi_server/helper/jinja_renderer.py

This file was deleted.

68 changes: 0 additions & 68 deletions fastapi_server/main.py

This file was deleted.

Loading

0 comments on commit a098c27

Please sign in to comment.