Roshdy23 / Playmaker

Playmaker is Crawler-based search engine that demonstrates the main features of a search engine (web crawling, indexing and ranking) and the interaction with it along a friendly user interface.
3 stars 1 forks source link

Fetching Apis #26

Closed Roshdy23 closed 3 months ago

Roshdy23 commented 3 months ago

Now I made the GUI fetch the data from the below Apis routes :-

Get the Results: localhost:8080/api/queryquest/{query} Get the Suggestions: localhost:8080/api/queryquest/prvQueries/{query}

but the thing is I don't have the database so I couldn't test if it works properly or not.

for more information about how I fetch the json response you can check the StateContextProvider.

Thanks.