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.
This pull request primarily focuses on two main areas: enhancing the user interface in
views/search.ejs
and setting up a new Express.js server invulnerable.js
. The most significant changes include the addition of a new heading to display the incoming query parameter in the search results page and the creation of a new server using Express.js, which includes a PostgreSQL connection and a route to fetch user data based on a search parameter.User Interface Enhancements:
views/search.ejs
: A new heading has been added to display the incoming query parameter in the search results page. This provides users with a clear indication of the search term they used.Server Setup and Route Creation:
vulnerable.js
: A new Express.js server has been set up, which includes the addition of several dependencies such asexpress
andbody-parser
. A PostgreSQL connection has also been established using thepg
library. Furthermore, a route has been created to fetch user data based on a search parameter.