Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MysqlAdapter #178

Open
victorgp89 opened this issue Oct 2, 2018 · 4 comments
Open

MysqlAdapter #178

victorgp89 opened this issue Oct 2, 2018 · 4 comments

Comments

@victorgp89
Copy link

It's posible an integration with mysql stack?

@ethanresnick
Copy link
Owner

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.

@victorgp89
Copy link
Author

Have you a version of this api without typescript?

@ethanresnick
Copy link
Owner

@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.

@ghost
Copy link

ghost commented Mar 21, 2019

Piggybacking on this, have you thought of integration with something like https://github.com/typeorm/typeorm ? Perhaps their datamapper approach?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants