-
-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Koa version #58
Comments
Implementing the REST wrapper for Koa shouldn't be too hard I'd wait until ES6 makes it into Node stable though. Koa only works with 0.11 and the class TodoService {
constructor (app, path) {
this.app = app;
}
find (params) {
},
get (id) {
return new Promise((resolve, reject) => {
resolve({
id: id,
description: 'You have to do ' + id
});
});
},
create (data, params) {
},
update (id, data, params) {
},
patch (id, data, params) {
},
remove (id, params) {
}
} |
Yeah for sure, I'm excited for this future. |
@pspeter3 you could make the Koa support as a Feathers Plugin? See generator-feathers-plugin. I have not used Koa before, but looking at its docs it looks like a great framework! |
I wish you had Koa support. Its an amazing framework limiting it to Express isn't. |
Thanks @marshallswain , currently I won't use feathers. I think it adds an abstraction layer, that I don't like. I'm turning into building server with pure nodejs, as it gives more control. & I've implemented a simple version of CRUD REST API for Rethinkdb that fits my needs. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs. |
I can imagine the desire for something supports the feathers service api but with Koa. Do you guys have thoughts on this?
The text was updated successfully, but these errors were encountered: