screenshot-to-code/backend
2024-01-08 17:04:59 -08:00
..
prompts Type the backend properly to avoid code duplication and ensure type errors when a stack configuration is not properly added 2024-01-08 15:30:53 -08:00
routes Type the backend properly to avoid code duplication and ensure type errors when a stack configuration is not properly added 2024-01-08 15:30:53 -08:00
.gitignore update gitignore 2024-01-08 14:35:26 -08:00
access_token.py return failure reason to front-end 2023-12-06 10:50:22 -05:00
build.sh add build script for render backend deployment 2023-11-16 19:03:05 -05:00
config.py split main.py into appropriate routes files 2023-12-09 15:46:42 -05:00
Dockerfile simplify dockerfile and update docker-compose to use 7001 2023-11-19 21:39:10 -05:00
eval_config.py add a front-end for scoring eval results 2023-12-13 16:38:26 -05:00
eval_utils.py add a front-end for scoring eval results 2023-12-13 16:38:26 -05:00
eval.py include type checker 2024-01-08 17:04:59 -08:00
image_generation.py strictly type python backend 2023-12-09 15:34:16 -05:00
llm.py strictly type python backend 2023-12-09 15:34:16 -05:00
main.py add a front-end for scoring eval results 2023-12-13 16:38:26 -05:00
mock_llm.py strictly type python backend 2023-12-09 15:34:16 -05:00
poetry.lock include type checker 2024-01-08 17:04:59 -08:00
pyproject.toml include type checker 2024-01-08 17:04:59 -08:00
pyrightconfig.json include type checker 2024-01-08 17:04:59 -08:00
README.md include type checker 2024-01-08 17:04:59 -08:00
start.py upgrade uvicorn dependency and add a backend start python script 2024-01-08 09:35:02 -08:00
utils.py strictly type python backend 2023-12-09 15:34:16 -05:00

Run the type checker

poetry run pyright

Run tests

poetry run pytest