diff --git a/README.md b/README.md index 67d2fcf..aae956e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Change into the project directory: cd SimpleFastPyAPI ``` -Install the project dependencies: +Build Docker: ```bash docker build -t SimpleFastPyAPI . @@ -30,6 +30,18 @@ Run the application: docker run -p 8000:8000 -v $(pwd)/users.db:/app/users.db SimpleFastPyAPI ``` +Install the project dependencies: + +```bash +pip install -r requirements.txt +``` + +Run the application directly without Docker: + +```bash +uvicorn main:app --reload +``` + The application will start and be available at http://localhost:8000. ## API Endpoints diff --git a/requirements.txt b/requirements.txt index f2cc1e7..c9e93af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,29 +8,29 @@ email-validator==1.3.1 fastapi==0.109.1 fastapi-utils==0.2.1 greenlet==2.0.2 -h11==0.14.0 +h11==0.16.0 httpcore==0.16.3 httptools==0.5.0 httpx==0.23.3 idna==3.7 itsdangerous==2.1.2 -Jinja2==3.1.5 +Jinja2==3.1.6 MarkupSafe==2.1.2 -orjson==3.9.15 +orjson==3.11.6 psycopg2-binary==2.9.6 pydantic==1.10.13 python-dotenv==1.0.0 -python-multipart==0.0.18 +python-multipart==0.0.22 PyYAML==6.0 -requests==2.32.0 +requests==2.33.0 rfc3986==1.5.0 sniffio==1.3.0 SQLAlchemy==1.4.47 -starlette==0.35.0 +starlette==0.49.1 typing==3.7.4.3 typing_extensions==4.8.0 -ujson==5.7.0 -urllib3==1.26.19 +ujson==5.12.0 +urllib3==2.6.3 uvicorn==0.21.1 uvloop==0.17.0 watchfiles==0.19.0