Web scraping & automated data update#417
Open
laurenp-2 wants to merge 15 commits into
Open
Conversation
Member
|
[diff-counting] Significant lines: 2168. This diff might be too big! Developer leads are invited to review the code. |
|
Nice work! The scraper, folder system, and admin tooling all look solid and well thought out. The main thing I'd flag is that app.ts nearly doubles in size with this PR, so it'd be worth breaking the new routes into separate files to keep things manageable as the codebase grows. |
- Updated backend and frontend dependencies to ensure compatibility and security. - Implemented admin property management features, allowing admins to view, edit, and delete property listings directly from the admin dashboard. - Refactored code for better maintainability and readability, including improved error handling and code organization. - Updated ESLint configurations to enforce consistent coding styles across the project.
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.
Summary
This pull request is the first step towards implementing automated data updates and web scraping. The PR introduces backend scripts that export current property information in the database into a CSV, and then updates the database with information from the csv after it is updated with new information. Additionally, it introduces a script to scrape the PJApts website.
This PR also builds off of changes introduced in the Admin Data Editor PR.
export_apartmentsandupdate_apartments_from_csvscrapePJAptsandrunScrapersTest Plan
Admin data editor for scraped properties

unit tests present in
scripts.test.tsNotes