Skip to content

Conversation

@nancywang197
Copy link

@nancywang197 nancywang197 commented Nov 20, 2025

Status: Ready

Description

Create an API route that gets all the resource information from the notion database, grouped by the workshop series and ordered by the workshop sequence. Confirmed that new addition to server.js does not interfere with external opportunities board. Verified that return value of API is as expected and ordered as needed.

https://github.com/orgs/IllinoisWCS/projects/8?pane=issue&itemId=135321615&issue=IllinoisWCS%7CIllinoisWCS.github.io%7C448

Note: Will need to add REACT_APP_EXPLORATION_NOTION_DATABASE_ID to local environment file

Screenshots

Screenshot 2025-11-19 190839 Screenshot 2025-11-19 191502

@nancywang197 nancywang197 requested a review from kikis05 November 20, 2025 01:21
Copy link
Contributor

@kikis05 kikis05 left a comment

Choose a reason for hiding this comment

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

I was able to run this using the instructions you provided and the output looks great!
We want to make it so that this is running on a localhost that can be accessed on the frontend side without test-server.js. Currently this isn't really possible because everything is configured for production mode--so the next step will be to conditionally change where the backend is running depending on when we are in production or dev mode. Nyssa did this for the QA backend in her pr here: #473
So I think a good next step starting next sem would be to copy the same conditional statements at the bottom of the server.js file in this pr so that the data you pulled is accessible from localhost:4000.

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.

3 participants