84 karma · joined April 27, 2015
Interested in early stage, fast moving startups.
Born in Mexico City. Currently living in Salt lake city.
But even as I say write it, in a couple of minutes my brain will jump back into thinking I'm in control. It's very strange.
I spent a week there 7 years ago and I loved it.
The city was cool and modern, yet clean and civilized.
I was born in Mexico city, currently living in salt lake city Utah. I think living in Asia for a while would help me grow and expand my perception of the world.
For me the next step, the fifth era if you will, is javascript that manages the persisted distributed state for you without any backend or db specific API.
You push something into an array and it is magically there for another user in the other side of the world.
I'm working on something like that: https://javascriptdb.com
The DB access works fine on both places, I use it from svelte kit load function without problems. I haven't played with authenticated SSR, I'll make sure to include that in the samples.
The main problem with firebase is that you can't self host it, this means you can't easily test or replicate environments.
The emulators are limited: indexes are not enforced, copying the production database (no more than 50k documents) to my macbook pro crashes the emulator.
Also the DSL used to define security rules is not flexible enough. I've seen developers skip defining rules because they don't get it to work.
Appwrite is great and you can self host it, but it introduces concepts/APIs to query data and secure it that you have to learn. They also try to solve the problem for all platforms and languages.
JSDB tries to extremely simplify things and just use plain javascript for everything.
You should use JSDB if you love javascript.
That being said, firebase & appwrite are both production ready and JSDB is not there (yet!!)
At least that's the plan to enable indexes. Parse callback functions passed to .filter and convert that into native DB queries.
About ES modules, I decided to start with esm because it looks like everything is moving in that direction. That being said I will support both cjs and esm soon.
The function versioning seems interesting for rollouts.
This will make our team happy.
Edit: I only get this error on docs etc, console works fine.
What they are rewriting is sapper, the next-like framework. It's probably subjective, but I think the ergonomics and low code/noise ratio worth the immature state.
Also my team loves it, JR engineers find it easy to learn, even our designer likes to contribute now that we are using svelte.
Firebase gives you auth, serverless database that you access from the client directly, storage etc.
Svelte gives you low overhead, easy to write and easy state management components. it's very close to plain HTML & JS.
Pm me if have more questions.
Take a look at Loopback, it is built on top of express, allows for rapid development and in my experience scales really good. For example it has load balancing out of the box.
It is definitely my tool when building nodejs Rest APIs