Create an API with angular meteor

Hey guys

I got an app in angular meteor and I need to make an API in order to use it with a software in C#.

How can I make this API with angular meteor ?

Thanks

You can try this package I wrote: https://github.com/stubailo/meteor-rest/blob/master/packages/rest/README.md

It lets you call all of your existing Meteor methods and publications over HTTP, so you don’t need a DDP client.

Can I allow it for only one or two publications and no method for exemple?

Many thanks I will definitely look into it !

It follows the same security rules as your Meteor DDP API. So there’s no need to worry if you are creating a lot of endpoints, since they are exactly as secure as the rest of your app.

Is it possible to use it with HTTPS ?

Yes of course! If your app is accessible over https the API will be too.

1 Like