Skip to main content

¿ MongoDB con ReactJS ?

Debido a ciertos requerimientos en algunas presentaciones laborales que estoy teniendo, me encontré con MongoDB para almacenar una gran cantidad de información. Se trata de una Base de Datos no relacional bastante eficiente y escalable.
Junto a eso uno de los frameworks más extendidos para frontend es React, que junto a todos sus manejadores es una librería muy potente.

Entendiendo estos conceptos y habiendo practicado con estas herramientas, voy a intentar mostrar el desafío de cómo almacenar una considerable cantidad de datos y mostrarlo en una aplicación react en forma de lista.

-
Gracias a GrowServerCBA pude armar un servidor de Mongo para pruebas.
 # Puede MongoDB mostrar un .json con todos los datos de una consulta?

Primero busqué como mongo otorga la información. Posée drivers para cada lenguaje que deseemos usar: en este caso Javascript* (es decir: NodeJS).

Comments

Popular posts from this blog

The wire - less madness

Lately working with Lora device I have learned that we are really close to create big impact changes with relatively little investing.    I've started my mesh during a research to communicate my postbox with my Home Assistant setup. In all the apartments where I lived this really got me; I wanted that when the post agent left something for me it should notify me somehow. This could have been because I've worked far from my place, or even because otherwise every time I need to go check it. During this mission I only counted with a bunch of ESP32s that could be used for communication using WiFi, Bluetooth and ESPnow. That's awesome but unfortunately not enough.  Suddenly when looking for sensors for other project, I've found SX126X and SX127X which are modules for LoRa communication. And pretty cheap ones!    2022 I've got some Heltec V1 (Stockholm)   Is good to mention that this technology uses ISM which basically is that the states provide a license-free b...

My own Departure Board (V1)

A screen that tells you when the next train is coming, built with the same complexity as a Mars mission. It all started on the blue line to Kista , riding Stockholm’s Tunnelbana. Half asleep, I was staring at the glowing “next departures” board when it hit me: "What if I built one of those for home?" Sure, I could’ve just opened an app like any normal human, but I chose the long, slow, bug-ridden path. Naturally. A while later, for my birthday, Roberto gave me a Raspberry Pi Zero 2 W . Why? No idea. But clearly, it was fuel for my urge to overengineer things. With that little board in hand, my fate was sealed. Weeks later, we went to a Hopsworks meetup in Södermalm. Being a good Scandinavian tech event, it was full of beer. And not just any beer— Hopsworks has its own craft beer line , with labels that look like they came straight out of a DataFrame. Absolute chef’s kiss. They were showing how they use the Trafiklab API to feed an AI model that predicts public transport del...

Shoot: Derrotas políticas y nuevas oportunidades

A lo largo del tiempo, como Argentinos fuimos encargados de llevar la política a nuevos espacios. Fuimos pioneros en debates abstractos, generamos discusiones de todo tipo contemplando todos los aspectos y aristas que un tema puede encontrar. Así y todo íbamos olvidando gran parte de nuestra gente. Así y todo nos íbamos blindando del otro. Así y todo, conseguimos ser de mente abierta pero tan cerrados para no entender que hoy no es ayer, para no entender que somos muy distintos y debemos vivir juntos. Nos dimos cuenta que ni la distancia ni las rejas nos separan del todo. Que la "necesidad" se hizo compleja, y que los derechos son un reflejo de esta nueva lucha de clases. Podríamos asegurar que el conflicto es lo nuestro, y que no sabemos cómo resolverlo. Así y todo es nuestra misión llevar paz y construir. Así y todo debemos saber que no somos tan diferentes, y que esa distancia que generamos no es más que una diferencia de potencial o voltaje político. Todo nuestro ...