Skip to content

Feat/add sprint6 materials - #92

Merged
LoganSutton13 merged 2 commits into
mainfrom
feat/add-sprint6-materials
Apr 25, 2026
Merged

LoganSutton13 merged 2 commits into
mainfrom
feat/add-sprint6-materials

Conversation

@LoganSutton13

Copy link
Copy Markdown
Owner

No description provided.

- Revised project description in README to better reflect functionality and architecture.
- Updated backend environment configuration to change default PORT to 8001 and added RESULTS_DIR for processed outputs.
- Enhanced API documentation in backend README, detailing new upload and results endpoints, including multipart upload handling and pathing features.
Copilot AI review requested due to automatic review settings April 25, 2026 00:54
@LoganSutton13
LoganSutton13 merged commit bb08f53 into main Apr 25, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Sprint 6 documentation and refreshes repository setup docs/environment templates to reflect the current chunked-upload + prescriptions/pathing/results workflow.

Changes:

  • Add Sprint 6 report and a reference file containing the Sprint 6 demo video link.
  • Update backend env.example to match current default port and include RESULTS_DIR, plus expanded CORS origins.
  • Rewrite/condense backend and root README documentation to match the current API surface, data flow, and Docker/GHCR install paths.

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
docs/Reports/06_Sprint_Report.md Adds Sprint 6 report content (features, links, retrospective).
docs/PresentationsVideos/Sprint6Video.txt Adds Sprint 6 YouTube link.
code/backend/env.example Updates default port/CORS origins and adds RESULTS_DIR.
code/backend/README.md Updates backend structure, env example, endpoint lists, and architecture notes.
README.md Major rewrite of top-level installation and usage documentation for current system behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
```bash
cd code/backend
poetry install
pip install -r requirements.txt

Copilot AI Apr 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Poetry install path, pip install -r requirements.txt will run in whatever Python environment is active (often the system Python), not necessarily Poetry’s virtualenv. To avoid installing dependencies into the wrong env, run it via poetry run pip install -r requirements.txt (or enter poetry shell first) and/or document which one is expected.

Suggested change
pip install -r requirements.txt
poetry run pip install -r requirements.txt

Copilot uses AI. Check for mistakes.
Comment thread code/backend/README.md
Comment on lines 125 to 127
DEBUG=True
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001,http://localhost:8000
UPLOAD_DIR=./uploads

Copilot AI Apr 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .env example’s ALLOWED_ORIGINS list doesn’t include http://127.0.0.1:8000, which is included in env.example and in app/core/config.py defaults. Consider adding it here so the README example works for both localhost and 127.0.0.1 frontend origins.

Copilot uses AI. Check for mistakes.
Comment thread code/backend/README.md
Comment on lines 129 to 131
MAX_FILE_SIZE=104857600
SUPPORTED_FORMATS=image/jpeg,image/png,image/tiff
```

Copilot AI Apr 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .env example omits image/tif from SUPPORTED_FORMATS, but env.example and app/core/config.py include both image/tiff and image/tif. Updating the example to include image/tif will better match actual defaults/accepted inputs.

Copilot uses AI. Check for mistakes.
Comment thread code/backend/env.example

# File Storage
UPLOAD_DIR=./uploads
RESULTS_DIR=./results

Copilot AI Apr 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PATH_JOBS_DIR is configurable in app/core/config.py and the backend creates the directory on startup, but it isn’t listed in env.example. Since this template is already being updated for storage paths, consider adding PATH_JOBS_DIR=./path_jobs for completeness (especially for deployments that need to relocate all on-disk artifacts).

Suggested change
RESULTS_DIR=./results
RESULTS_DIR=./results
PATH_JOBS_DIR=./path_jobs

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants