Good vs. Evil

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
38 I had to work with firebase today.

Seems pretty nice, with the right tools changes to the database go automatically to the clients (without reloading them manually or writing code on the server).
You can also rather easily run code on the server whenever a change happens or whenever you get a http request.

There is probably some other stuff as well, but I didn't do too much with it, so... not sure....
 
38 pretty much. This combined with react-native's FlatList which is an element that takes a list as input and renders it, updating it automatically whenever the list changes we managed to make something that reads the database and automatically updates the list we show whenever we make changes.

Also, one cool thing about how it works is that the database is made to be read directly from the server, so when making an app you don't have to make the GET part of your api if you need a database.
 
25 It was a ton of fun. Because of how we got invited we had access to an area with AC, which was huge, as it was stupid hot there.