Creating & Running NodeJS WebApp on iOS (using iSH Terminal) | NodeJs on iOS
#nodejs #webapp #ish #ios17
Hi, in this video I have shown step by step guide how you could create and test a simple NodeJS web application on your iOS device using the iSH terminal and the safari web browser.
Installing NodeJS & other pre-requisites:
First make sure that you have NodeJs installed on your device. If not install it using the iSH Terminal with:
apk add nodejs
After installing the NodeJs, you could check its version by:
node -v
Also, install the vim text editor by:
apk add vim
*****************************************
*****************************************
Now use your favourite text editor and put the sample code as shown in this video.
Create a new file with .js extension using the iSH Terminal and open it in edit mode. Paste the code, quit and save the file (:wq)
Run the file using the cmd:
node filename.js
Open the local host (with the same port mentioned in code) in Safari web browser. For example:
localhost:8000
You should now see your web application running inside the browser.
*****************************************
*****************************************
Credits & Special thanks to:
• Apple : macOS & video edited with Final Cut Pro
• Youtube : Audio Library
• Ryan Dahl, OpenJS Foundation, Bryan Cantrill: Node JS
• Code Editor: TextCode Editor
• Web Browser: Safari by Apple
• Theodore Dubois: iSH Terminal for iOS
*****************************************
*****************************************
#ios17
#apple
#programming
#npm
#youtube
#imchampagnepapi
Thanks for checking out this, hope this helps.