/thats-camping-react-native

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Build Status Stories in Ready

It's raining and my Weet-Bix is wet. That's Camping!

Find campsites near you in New South Wales, Australia. It covers camping on public, common land such as National Parks, State Forests and Local Councils.

This is a React Native application written in Typescript. It's currently only really been worked on for iOS though adding Android support shouldn't be too much trouble.

The app also uses PouchDB/CouchDB to work offline.

When a network is available any updates from the main database are automatically synched back to the local database and are reflected in the user interface in real time.

The next step is to add the ability for the user to edit and add new campsites! This will again even work when offline.

Development

cp env.example .env

Then edit values in .env

Install nvm. Then,

nvm use
yarn
npm install -g react-native-cli
react-native run-ios
yarn tsc

To run tests

nvm use
yarn test --watch --notify

If you see lots of error trying to run the tests with --watch then

brew install watchman

Deploy beta version

We're using fastlane to ease deployment of new versions. For beta testing we're currently using TestFlight.

To install fastlane

bundle install

To deploy a new version of the beta for iOS

bundle exec fastlane beta

Production

I'm moving rapidly towards releasing this on the Apple app store. I will be charging a small amount of money for this app. This is to support future development of this app.

Please be decent. Don't just fork the app and re-release on the app store. As long as you abide by the terms of the open-source license, yes, you can do this perfectly legally. However, I'm asking you not to, to respect the spirit in which this code was open-sourced.

Thank you

The "That's Camping!" icon design by Gabriel Clark and Joanna Hill.

Copyright & License

Copyright Matthew Landauer. Licensed under the GPL v3. See LICENSE.md for more details.