Friday, 19 July 2019

Hi everyone, I’m looking for some kind of example or documentation on how I can return a list of results from a database to the front end in the MERN tech stack. Does anyone know of any good examples on this topic?

I’m currently building a website that needs to display a list of results from a database and I can’t seem to find an example that shows how to do this. Ive figured out how to query the database correctly from the endpoint, but I’d like to figure out how to correctly return the values back to the front end and convert them to a list of objects that can be displayed in their own react components that I’ve already built.

Submitted July 20, 2019 at 01:18AM by treski33

No comments:

Post a Comment