Ayush Gupta
Ayush Gupta

Reputation: 1717

Calling REST API in android during development

I have implemented a REST API using Node, Express and MongoDB, and made a webapp using the same. Now I want to create an android application which consumes this API, but I don't wish to spend money on a server while in development. Is there a way to use this API in android without uploading it to a server?

PS: I do not wish to create the app using Cordova/PhoneGap. I want to build a native android app in Java.

Upvotes: 1

Views: 94

Answers (1)

Hiero
Hiero

Reputation: 2205

You can deploy your API to a service like heroku.

Its free and good.

https://scotch.io/tutorials/how-to-deploy-a-node-js-app-to-heroku

Upvotes: 3

Related Questions