integrating with Meteor
I have made a simple app with express before and now I am trying to get a proof of concept running with Meteor.js. Meteor has a webApp component that behaves much like an express handler. For example, I can do this:
I was able to create api routers the same as in all the sample docs, but without an actual meteor middleware, I am not sure what to put in the handler above to connect it all up. Any advice?
1 Reply
perhaps in the trpc terminology, I am referring to 'adapters' and not necessarily 'middleware'.
i was reading the code for the express and it is pretty simple. I may try using that as an example for meteor, as Meteor's webapp component is based on connect, which is itself very similar to express