Skip to content

Commit

Permalink
add initial source
Browse files Browse the repository at this point in the history
  • Loading branch information
h3xxx committed Feb 13, 2024
1 parent 4bf407d commit 220040e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ https://fastapi.tiangolo.com/

## installation
```bash
pip install -f requirements.txt
python -m pip install --upgrade pip
```

## run
```bash
python main.py
python -m pip install -r requirements.txt
```

http://127.0.0.1:8000/items/5?q=somequery

## run server
```bash
uvicorn main:app --reload
```

http://127.0.0.1:8000/items/5?q=somequery
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fastapi
"uvicorn[standard]"
uvicorn[standard]

0 comments on commit 220040e

Please sign in to comment.