mirror of
https://github.com/devproje/balance-application.git
synced 2024-10-21 00:11:21 +09:00
Compare commits
11 commits
Author | SHA1 | Date | |
---|---|---|---|
693efd988c | |||
b3e511b730 | |||
|
f2fe139d10 | ||
442448e71b | |||
f0e25f0740 | |||
b787891c27 | |||
70bc590b0c | |||
a943ff08fb | |||
a48644b381 | |||
e3e51091d3 | |||
f5413faa6d |
4 changed files with 32 additions and 4 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
FROM python:3.11-alpine3.20
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN apk update \
|
||||||
|
&& apk add --no-cache postgresql-dev gcc musl-dev make py3-uvloop \
|
||||||
|
&& pip install -U pip setuptools wheel Cython
|
||||||
|
|
||||||
|
COPY requirements.txt .
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
|
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# Balance Application
|
# Balance Application
|
||||||
- FastAPI로 제작한 가계부 시스템 입니다. (Backend)
|
- FastAPI로 제작한 가계부 시스템 입니다. (Backend)
|
||||||
|
- 클라이언트
|
||||||
|
- [Balance Client](https://github.com/devproje/balance-client)
|
||||||
|
|
||||||
## Requirement
|
## Requirement
|
||||||
- Python 3.12
|
- Python 3.12
|
||||||
|
@ -49,4 +51,4 @@ fastapi run app.py --port 3000
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
본 프로젝트는 (MIT License)[https://github.com/devproje/balance-application/blob/master/LICENSE]를 따릅니다.
|
본 프로젝트는 [MIT License](https://github.com/devproje/balance-application/blob/master/LICENSE)를 따릅니다.
|
||||||
|
|
2
app.py
2
app.py
|
@ -39,4 +39,4 @@ async def index(resp: Response):
|
||||||
return "Hello, World!"
|
return "Hello, World!"
|
||||||
|
|
||||||
app.include_router(router=auth)
|
app.include_router(router=auth)
|
||||||
app.include_router(router=balance)
|
app.include_router(router=balance)
|
|
@ -1,20 +1,26 @@
|
||||||
annotated-types==0.7.0
|
annotated-types==0.7.0
|
||||||
anyio==4.4.0
|
anyio==4.4.0
|
||||||
|
asgiref==3.8.1
|
||||||
certifi==2024.8.30
|
certifi==2024.8.30
|
||||||
click==8.1.7
|
click==8.1.7
|
||||||
|
Deprecated==1.2.14
|
||||||
dnspython==2.6.1
|
dnspython==2.6.1
|
||||||
email_validator==2.2.0
|
email_validator==2.2.0
|
||||||
fastapi==0.114.0
|
fastapi==0.115.2
|
||||||
fastapi-cli==0.0.5
|
fastapi-cli==0.0.5
|
||||||
|
googleapis-common-protos==1.65.0
|
||||||
|
grpcio==1.66.2
|
||||||
h11==0.14.0
|
h11==0.14.0
|
||||||
httpcore==1.0.5
|
httpcore==1.0.5
|
||||||
httptools==0.6.1
|
httptools==0.6.1
|
||||||
httpx==0.27.2
|
httpx==0.27.2
|
||||||
idna==3.8
|
idna==3.8
|
||||||
|
importlib_metadata==8.4.0
|
||||||
Jinja2==3.1.4
|
Jinja2==3.1.4
|
||||||
markdown-it-py==3.0.0
|
markdown-it-py==3.0.0
|
||||||
MarkupSafe==2.1.5
|
MarkupSafe==2.1.5
|
||||||
mdurl==0.1.2
|
mdurl==0.1.2
|
||||||
|
protobuf==4.25.5
|
||||||
psycopg2-binary==2.9.9
|
psycopg2-binary==2.9.9
|
||||||
pydantic==2.9.1
|
pydantic==2.9.1
|
||||||
pydantic_core==2.23.3
|
pydantic_core==2.23.3
|
||||||
|
@ -23,12 +29,15 @@ python-dotenv==1.0.1
|
||||||
python-multipart==0.0.9
|
python-multipart==0.0.9
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.2
|
||||||
rich==13.8.0
|
rich==13.8.0
|
||||||
|
setuptools==75.1.0
|
||||||
shellingham==1.5.4
|
shellingham==1.5.4
|
||||||
sniffio==1.3.1
|
sniffio==1.3.1
|
||||||
starlette==0.38.5
|
starlette==0.40.0
|
||||||
typer==0.12.5
|
typer==0.12.5
|
||||||
typing_extensions==4.12.2
|
typing_extensions==4.12.2
|
||||||
uvicorn==0.30.6
|
uvicorn==0.30.6
|
||||||
uvloop==0.20.0
|
uvloop==0.20.0
|
||||||
watchfiles==0.24.0
|
watchfiles==0.24.0
|
||||||
websockets==13.0.1
|
websockets==13.0.1
|
||||||
|
wrapt==1.16.0
|
||||||
|
zipp==3.20.2
|
||||||
|
|
Loading…
Reference in a new issue