An inspired Web, iOS + Android code sharing example for learning.
This is an Nx workspace delivering optimal UX across Web, iOS and Android via Analog and NativeScript. Web deploy is here: https://nx-javascriptisdead.com
nx-javascriptisdead.mp4
All credit goes to Maxi Ferreira and Addy Osmani inspired example for their amazing "Death by JavaScript" series:
Prerequisites:
- Node 20.6+
- yarn
- NativeScript: if you want to develop iOS and Android apps.
yarn
yarn nx run web-store:serve
yarn nx run nativescript-store:ios
yarn nx run nativescript-store:android
The web app can be hosted with any hosting provider and the iOS and Android apps could be packaged for App Store distributions.
yarn nx run web-store:build
The app could now be deployed to any web hosting providers. It's currently deployed on Render here: https://nx-javascriptisdead.com/
yarn nx run nativescript-store:build --platform=ios
The app could now be uploaded to TestFlight by Archive and Upload in Xcode (open apps/nativescript-store/platforms/ios/nativescriptstore.xcworkspace
)
yarn nx run nativescript-store:build --platform=android
A .aab
file would be available inside apps/nativescript-store/dist
for upload to Google Play.