This repository contains the code for the mobile client of futurospective.
Futurospective is a time-capsule app that lets users leave messages to themselves in the future.
For more details go to http://futurospective.bitbucket.io.
This is a React Native application built with Node 6.
The Delorean icon is a free Vector Graphics by Vecteezy.com.
This installation has been tested on OSX 10.12.5.
Follow the installation steps documented on React Native's website for Xcode and Android:
To clone and run this application you'll need Git, Homebrew and NVM. Then run the commands below.
# Clone the repository
$ git clone git@bitbucket.org:futurospective/futurospective-mobile.git
# Go into the repository
$ cd futurospective-mobile
# Install Node via NVM. This will install the version mentioned in the .nvmrc file.
$ nvm install
# Install watchman - Watchman is a tool by Facebook for watching changes in the filesystem. It is highly recommended you install it for better performance.
$ brew install watchman
The React Native CLI will let you start your mobile client from your terminal.
# Install the React Native CLI globally
$ npm install -g react-native-cli
# Install dependencies
$ yarn
# Static type checking with flow
$ npm run flow
# Linting
$ npm run lint
Testing with npm test is currently broken - haven't had the time to get my head around this yet as Enzyme does not support react v16-alpha (which makes total sense).
- Fork the repo.
- Make changes on the develop branch.
- Please write a meaningful commit message, try to use 80 chars lines.
- Submit a pull request.
Released under MIT License
Thanks!