Is RESTAPI possible?


#1

I know Meteor is using DDP. But in my case, I’ll develop an application which is not only be used by my own client applications but also be able to be used partially by third parties. That means I need to expose some of my functions through API.

My question is if Meteor is also possible to expose some of the functions in Rest API? The reason I don’t want to expose my DDP interface to third parties is I don’t want to expose too much to outside people. Do you have any suggestion?

Thanks.


#2

Hi. Check this out in the Meteor Guide: Accessing a publication as a REST endpoint

RTFM! :wink:


#3

Definitely possible. Check out the following packages, any of which may be what you’re looking for, depending on how complex your requirements are:


#4

Thanks for your reply.


#5

meteorhacks:picker is another option.