Add shorten endpoint and venv documentation

This commit is contained in:
2026-03-01 12:01:24 +02:00
parent 1e69590eaa
commit 7056fcefa6
2 changed files with 28 additions and 2 deletions
+10 -1
View File
@@ -1,9 +1,18 @@
# URL-shortener
URL-shortener project to showcase python use
## Create venv
cd /opt/kjc/int/URL-shortener
python3 -m venv venv
source venv/bin/activate
## Run locally
```bash
uvicorn app.main:app --reload
```
Then check:
http://127.0.0.1:8000
http://127.0.0.1:8000
http://127.0.0.1:8000/docs
Test Short URL Endpoint
http://127.0.0.1:8000/shorten