feat: refactor db calls to url service

This commit is contained in:
2025-07-23 02:58:46 +00:00
parent ee67589393
commit d2d045a89d
15 changed files with 88 additions and 54 deletions

View File

@@ -2,10 +2,11 @@
"recommendations": [
"ms-python.python",
"ms-python.debugpy",
"ms-python.pylint",
"mtxr.sqltools",
"mtxr.sqltools-driver-pg",
"genieai.chatgpt-vscode",
"humao.rest-client"
"humao.rest-client",
"genieai.chatgpt-vscode"
],
"unwantedRecommendations": [
]

10
.vscode/http/url.rest vendored
View File

@@ -1,10 +0,0 @@
### redirect_to_original_url
GET http://localhost:8000/J7aDVn
### create_url_shortcode
POST http://localhost:8000/shorten
Content-Type: application/json
{
"url": "https://google.com/"
}

View File

@@ -1 +1,2 @@
SELECT * FROM url_mapping
SELECT * FROM urls