Compare commits
No commits in common. "backend" and "master" have entirely different histories.
1
backend/.gitignore
vendored
1
backend/.gitignore
vendored
@ -1 +0,0 @@
|
||||
.venv/
|
@ -1,10 +0,0 @@
|
||||
FROM python:alpine
|
||||
WORKDIR /app/backend
|
||||
|
||||
COPY ./requirements.txt /app
|
||||
RUN pip install --no-cache-dir -r /app/requirements.txt
|
||||
|
||||
COPY ./src /app/backend
|
||||
|
||||
EXPOSE 8000
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0"]
|
@ -1,7 +0,0 @@
|
||||
# Daily Agenda App Backend
|
||||
Written in FastAPI.
|
||||
|
||||
```shell
|
||||
docker build -t agenda-backend .
|
||||
docker run --rm agenda-backend
|
||||
```
|
@ -1,4 +0,0 @@
|
||||
fastapi
|
||||
uvicorn[standard]
|
||||
sqlalchemy
|
||||
pydantic
|
@ -1,10 +0,0 @@
|
||||
"""Agenda App"""
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.get('/')
|
||||
async def home():
|
||||
"""Dummy route"""
|
||||
return 'homepage'
|
Loading…
Reference in New Issue
Block a user