lux icon indicating copy to clipboard operation
lux copied to clipboard

DynamoDB driver?

Open melv-n opened this issue 7 years ago • 2 comments

Is there any support for a DynamoDB datastore? How would one go about hooking up Lux to DynamoDB? Thanks!

melv-n avatar Mar 09 '17 13:03 melv-n

Hey! Thank you for your interest in Lux. 😃

Currently the model layer of Lux only supports SQL databases. However, it is not impossible to use DynamoDB with Lux, you just miss out on a lot of the "for free" stuff Lux gives you.

If you still want to use Lux as your backend, I recommend the dynamite npm package as a DynamoDB client. You can return calls to the DynamoDB client from your Lux controllers and Lux should handle the rest.

zacharygolba avatar Mar 18 '17 14:03 zacharygolba

@zacharygolba Cheers for the reply!

Could you list some of the "for free" stuff Lux gives with relational (SQL) databases? Thank you!

I'll give Lux with dynamite a spin and compare it with Hapi.

melv-n avatar Mar 18 '17 21:03 melv-n