user3836430
user3836430

Reputation: 39

Is it possible to use Nodejs in mobile application?

I already did some applications in computer using Nodejs and Mongodb. Is it possible for me to use this projects and run in mobile platforms. Or should I write all the project in Android starting from the scratch?

Upvotes: 0

Views: 163

Answers (2)

Ali Farajnia
Ali Farajnia

Reputation: 21

Any apis specific to these platforms won't work within mobile application. There is plugin on-boards very limited NodeJS apis by translating them to their native equivalents. For Example : NativeScript-Nodeify

Upvotes: 0

clay
clay

Reputation: 6017

This question is kind of vague. A mobile application would be written natively (iOS, Android, maybe Xamarin or Unity for cross-platform), or could be written as a web app (a HTML5 web page), and turned into a "mobile app" via PhoneGap, Cordova, Crosswalk or just opening a web browser.

As far as running nodejs and mongo natively on the device, you need to explain more. Those are server-side technologies and I'm not sure why you'd want them on a mobile device. So the answer is "no" without it just being some tech experiment.

Can mobile apps talk to and utilize your Node server application? Absolutely!

Upvotes: 2

Related Questions