Skip to content

NathanWalker/nx-javascriptisdead

Repository files navigation

Nx proves JavaScript is Dead 💀

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

Inspiration

All credit goes to Maxi Ferreira and Addy Osmani inspired example for their amazing "Death by JavaScript" series:

Setup

Prerequisites:

yarn

Develop Analog Web App

yarn nx run web-store:serve

Develop iOS and Android Apps

yarn nx run nativescript-store:ios

yarn nx run nativescript-store:android

Ready to deploy?

The web app can be hosted with any hosting provider and the iOS and Android apps could be packaged for App Store distributions.

Build Web:

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/

Build iOS:

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)

Build Android:

yarn nx run nativescript-store:build --platform=android

A .aab file would be available inside apps/nativescript-store/dist for upload to Google Play.

Connect!

About

Nx workspace delivering optimal UX across Web, iOS and Android via Analog and NativeScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published