Implement complete scraping, REST API, and web frontend for UAlg course catalog - #3
Merged
Merged
Conversation
Co-authored-by: marcelo-m7 <117441129+marcelo-m7@users.noreply.github.com>
Co-authored-by: marcelo-m7 <117441129+marcelo-m7@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create REST API for Universidade do Algarve course catalog
Implement complete scraping, REST API, and web frontend for UAlg course catalog
Oct 27, 2025
marcelo-m7
marked this pull request as ready for review
October 27, 2025 10:43
#4) * Checkpoint from VS Code for coding agent session * Add Copilot setup workflow and improve test coverage to 87% Co-authored-by: marcelo-m7 <117441129+marcelo-m7@users.noreply.github.com> * Address code review feedback - improve test assertions Co-authored-by: marcelo-m7 <117441129+marcelo-m7@users.noreply.github.com> --------- Co-authored-by: marcelo-m7 <marcelo.net77@hotmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: marcelo-m7 <117441129+marcelo-m7@users.noreply.github.com>
marcelo-m7
reviewed
Oct 27, 2025
Add GitHub Copilot environment setup and increase test coverage to 87…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds a REST API and web platform to centralize Universidad do Algarve course catalog data, extracting courses, modules (UCs), knowledge areas, and documents from https://www.ualg.pt/oferta-formativa.
Scraper Enhancements
REST API
/, JSON API info at/apiWeb Frontend
Demo System
scripts/populate_demo_data.pycreates 5 example courses with 16 modulesmake democommand for quick startDatabase
Normalized schema with many-to-many relationships:
courses↔areasviacourse_areacourses↔modulesviamodule_coursecourse_documentsAll 36 tests passing. No security issues (CodeQL clean).
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
www.ualg.ptpython -m src.scrape_ualg(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.