movielistminiapp

Electrode Native - Movie List MiniApp (Getting Started sample application)

Usage no npm install needed!

<script type="module">
  import movielistminiapp from 'https://cdn.skypack.dev/movielistminiapp';
</script>

README

MovieListMiniApp

Electrode Native - Movie List MiniApp (Getting Started sample application)

Application that has a UI to display a list of movies.

Prerequisite

Install Electrode Native

Run the app standalone

To run this app stand alone simply clone the repo and execute the ern run command as below.

$ git clone https://github.com/electrode-io/MovieListMiniApp.git
$ cd MovieListMiniApp
$ yarn install

Android

$ ern run-android

iOS

$ ern run-ios

Run the app with MovieDetailsMiniApp.

With react-native platform you can easily combine multiple MiniApps into a single native application.

Here we have created a MovieDetailsMiniApp to take the user to the movie details page when a movie is clicked. To see how it works simply follow the steps below.

$ git clone https://github.com/electrode-io/MovieListMiniApp.git
$ cd MovieListMiniApp

Android

$ ern run-android --miniapps moviedetailsminiapp --mainMiniAppName MovieListMiniApp

iOS

$ ern run-ios --miniapps moviedetailsminiapp --mainMiniAppName MovieListMiniApp

Once the app is launched clicking on a movie will take you to the details page of MovieDetailsMiniApp

To build this app from scratch, follow the instructions of our Getting started guide

To know more about electrode native platform check the docs HERE.

Branching strategy

There is one branch per version of Electrode Native used by the MiniApp (i.e ern-v0.7, ern-v0.8 ...).
The master branch is used for Electrode Native development version (1000.0.0).