Skip to content

Badges endpoint#45

Open
aliyaa23 wants to merge 4 commits intomasterfrom
badges_endpoint
Open

Badges endpoint#45
aliyaa23 wants to merge 4 commits intomasterfrom
badges_endpoint

Conversation

@aliyaa23
Copy link
Copy Markdown
Contributor

Status:

Description

Addresses #

Screenshots

Copy link
Copy Markdown
Contributor

@helenailic helenailic left a comment

Choose a reason for hiding this comment

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

hey aliya!! this may be a misunderstanding on my end for how i phrased it (the fact badges collection isn't made yet doesn't help) -- but the goal of this task is not to make a static json of all the badges and return it, but rather have code that queries the mongo db database to grab the full badges collection within it (just assume that badges is a collection in it). does that make sense? so you are correct in making the get request block, but within that you'd make an actual query in the mongo db to grab the whole badges collection (look at mongodb syntax for how to do this!)

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.

2 participants