Overview
The Snowflake mobile app is a React-Native starter app that serves as an example or boilerplate for iOS and Android. It allows for development with a single codebase and offers two backend options: Hapi server or Parse server.
Features
- React-Native mobile app for iOS and Android.
- Single codebase for both platforms.
- Two backend options: Hapi server or Parse server.
Installation
To install the Snowflake app:
- Install React-Native.
- Install Snowflake.
- Clone the Snowflake repository.
- Install the necessary dependencies.
Using Snowflake Hapi Server
To use the Snowflake Hapi Server:
- Use the local or remote Snowflake Hapi Server.
- Copy the
src/lib/config.example.jstosrc/lib/config.js. - Choose the desired backend by setting
hapiLocalorhapiRemotein theconfig.jsfile. - Follow the instructions at https://github.com/bartonhammond/snowflake-hapi-openshift to run Hapi locally (requires installation of MongoDB and Redis).
Using Parse Server
To use the Snowflake Parse Server:
- Use the Snowflake Parse Heroku Server (hosted at https://snowflake-parse.herokuapp.com/parse) or set up a local instance of parse-server.
- Copy the
src/lib/config.example.jstosrc/lib/config.js. - Choose the desired backend by setting
parseLocalorparseRemotein theconfig.jsfile. - Follow the instructions at https://github.com/ParsePlatform/parse-server-example to set up parse-server.
Summary
The Snowflake mobile app is a React-Native starter project that provides a codebase for developing iOS and Android apps. It offers two backend options: Hapi server and Parse server. The installation process involves installing React-Native, cloning the Snowflake repository, and setting up the desired backend according to the provided instructions.