How do I build a native iOS app (the api needed for it) and webpage which uses same codebase in meteor?

I am tring to use meteor to write a website but use same codebase/logic that fuels the functionality of the iOS app. I basically need to expose an API for this purpose and have no idea what the best approach is.

if someone can help it would be wonderful.

If you implement your server in Meteor, the API will be DDP unless you manually create a REST API.

If you choose to use the DDP API, you’ll need a DDP client. Here are a few:

1 Like