grant icon indicating copy to clipboard operation
grant copied to clipboard

Is there a framework-agnostic API?

Open viridia opened this issue 3 years ago • 1 comments
trafficstars

I'm very interested in using grant, but I'm not using any of the frameworks (express, koa, etc.) listed in the docs - I'm using solid-start which is relatively new, and which uses file-based routing for defining API routes. I'm assuming I would have to roll my own wrappers which call grant - is there a way I can do this?

viridia avatar Oct 30 '22 20:10 viridia

You have to create your own handler. I have a framework-agnostic one, but as in Node.js framework agnostic https://github.com/simov/grant/issues/241

simov avatar Oct 30 '22 20:10 simov