Open victorgp89 opened 6 years ago
There isn't an adapter off-hand, but @carlbennettnz has been working on a Postgres adapter, which could probably be used with MySQL either directly or with very limited modifications. I believe that's here: https://github.com/carlbennettnz/json-api-knex-adapter If you need help modifying it for your purposes, I'm happy to answer questions, although the MongooseAdapter hopefully provides a pretty good example of the required methods and what each one does.
Have you a version of this api without typescript?
@victorgp89 No, but you can easily compile the Typescript (e.g., by pasting it here), tweak the output a bit, and then you'll have idiomatic JS without too much work.
Piggybacking on this, have you thought of integration with something like https://github.com/typeorm/typeorm ? Perhaps their datamapper approach?
It's posible an integration with mysql stack?