This thing should exist somewhere, pls help me find it:
I'm looking for a service that could completely take over persistency of my web application. I'm looking for transparent data storage and maybe even user/authentication management.
Use case: I am a developer, need to quickly prototype an application but dont want to deal with backend (at least for now). I'd like to drop in a JS library that load() or store() any object on provider's data server.
Thank you for any pointers.
Firebase. It's a database + auth that you can write to and read from via their front-end JS client.
Huh, thank you for the pointer. Looks very much like what i need.
From the top of your head, do you know if I would have to host it on Google infrastructure? Can I drop Firebase library into my self-hosted app by chance?
Thanks!
I've never heard of anyone doing it on their own infrastructure, it's centered around being a SaaS.
Ideally I would build only on frontend, use drop-in SaaS to store the data. If prototype gets traction, I would then implement typical backend. Firebase, I assume, ties you up for good :/
Well I think of it as any other framework or middle tier/db. You have to code with the onion layered architecture, where you keep the core business logic at the center where it's unaware of the frameworks/auth/db being used. You have to be very intentional about this or you'll very easily get married to firebase.
Hi, could it be that you don't seek a full-blown back-end right now, but you want to kinda freeze relevant JS objects in time and re-incarnate them sometime later again into your live application? If that's the case to my knowledge you absolutely used the right term "persistence" for it. Are you seeking to get hands on a kinda sophisticated JSON.encode/JSON.decode-ey thing?
Following discussions here seems you haven't found what you seek for, yet? Might it be possible to show me some of your front-end on github, I would clone it to my local machine, and maybe I can utter some guidance what your next persistence-ey steps might be? Just a thought. Regards, M.
Very kind of you - thanks for the offer!
You are absolutely correct - I need pure persistency, but as-a-service to save my development time on the early stage. Can build normal backend yet some time I just need to build lightweight MVP as a proof of concept and store JSON data somewhere. I just want to say:
someLilibary.save('clientId',{....});
or var data = someLibrary.load('clientId');
and focus on functionality rather than building backend and db.
Hi, have my own "Library of Congress" for programming. "Main catalogue" says jsonbox.io and the other so far is jsonplaceholder.typicode.com and my-json-server.typicode.com. Maybe there is more in the other half of "search results". Rg. M.
Great "Library". Thank you!!!
Ok, here's the result of the "other half", just https://github.com/agershun/alasql. Maybe this is a hit? Look at middle of the page for <script src="https://cdn.jsdelivr.net/npm/alasql@0.5"></script>. Regards, M.
Might not be what you are wanting to hear, but a simple Rails or Django API will do the same thing you are after and with very little hassle
Close, but i was looking for something more simple and without ties into a framework. Something that I could use like this:
<script src="someservice.com/somelibrary.js">
<script>
var data = { ... };
library.store(key,data); // magically stores data with the service so i could read it back later
</script>
I would then say look into something like Apollo GraphQL and setup a server using their infra and connect to it using your own frontend.
Added bonus that you can now use GraphQL which in some ways cuts down on the code complexity as compared to a REST API
You can potentially (abuse) Auth0 to store user all data...
Firebase is great! I just put together this tutorial (& template project), in case it’s useful :)
https://dev.to/benzguo/getting-started-with-next-js-now-firebase-4ejg
You can try a combination of FaubaDB and Zeit Now
That's how I deployed wagglio.co