diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..b4e4b2d --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +SECRET_KEY=change-me-in-production +API_KEY=demo-api-key-change-in-production diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..154b965 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +fastapi>=0.115.0 +uvicorn[standard]>=0.34.0 +sqlalchemy>=2.0.36 +bcrypt>=4.0.0 +python-multipart>=0.0.20 +jinja2>=3.1.5 +itsdangerous>=2.2.0 +pydantic[email]>=2.11.0 +pydantic-settings>=2.7.0 diff --git a/robot_management.db b/robot_management.db new file mode 100644 index 0000000..1123aa9 Binary files /dev/null and b/robot_management.db differ diff --git a/run.bat b/run.bat new file mode 100644 index 0000000..dee4878 --- /dev/null +++ b/run.bat @@ -0,0 +1,4 @@ +@echo off +cd /d "%~dp0" +call venv\Scripts\activate.bat +uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..11afe1f --- /dev/null +++ b/start.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cd "$(dirname "$0")" || exit +source venv/bin/activate +uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload \ No newline at end of file