-
Notifications
You must be signed in to change notification settings - Fork 0
Single js backend #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Do we even need Express? It looks like very simple servers and my understanding of the Node world (been a while since I really worked on this@) is that Node's built-in API have come on a lot, while Express has kinda stalled so you may not need Express. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates the backend from legacy Python functions to a single JavaScript-based implementation, aiming for streamlined maintenance and improved performance.
- Removed all Python backend files (functions/categories and functions/adoption)
- Updated GitHub Actions pipeline to run Node.js commands and Terraform changes
- Revised README documentation to reflect the new endpoints and setup instructions
Reviewed Changes
Copilot reviewed 105 out of 105 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
functions/categories/requirements.txt | Removed legacy Python dependencies |
functions/categories/main.py | Removed Python dispatcher function |
functions/categories/libs/validator.py | Removed Python validation logic |
functions/categories/libs/utils.py | Removed Python utility functions |
functions/categories/libs/result.py | Removed Python result helper |
functions/categories/libs/queries.py | Removed Python query implementation |
functions/categories/libs/network.py | Removed Python network responders |
functions/adoption/requirements.txt | Removed legacy Python dependencies |
functions/adoption/main.py | Removed Python dispatcher function |
functions/adoption/libs/validator.py | Removed Python validation logic |
functions/adoption/libs/utils.py | Removed Python utility functions |
functions/adoption/libs/result.py | Removed Python result helper |
functions/adoption/libs/queries.py | Removed Python query implementation |
functions/adoption/libs/network.py | Removed Python network responders |
conftest.py | Removed Python test configurations |
README.md | Updated documentation for the new Node.js backend and endpoints |
.github/workflows/pipeline.yaml | Updated pipeline to run Node.js tests and adjusted Terraform parameters |
.github/dependabot.yml | Added dependabot configuration for regular dependency updates |
Backend implementation as mentioned in HTTPArchive/httparchive.org#1048
Similar features but better performance compared to the existing one.