Giter Club home page Giter Club logo

covid-tracker-react-native's Introduction

COVID-19 Symptom Study

Table of Contents

About The Project

COVID Symptom Study is an open source Android and iOS app whose goal is to stop the spread of COVID-19 disease and help identify people who are at risk sooner.

The COVID Symptom Study was designed by doctors and scientists at King's College London, Guys and St Thomas’ Hospitals working in partnership with ZOE Global Ltd – a health science company.

If you're doing research on COVID-19 and you want to contribute or believe this initiative can help your efforts, please let us know at [email protected]

Built With

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • npm
  • expo-cli
npm install npm@latest -g
npm install expo-cli --g

Installation

  1. Clone the repo

    git clone [email protected]:zoe/covid-tracker-react-native.git
  2. When you first start your application you should see the IP address in the console (located above the QR code). For example:

    exp://123.456.7.890:19000

    Copy the host part of the IP address only.

  3. Create a .env file - please note that http:// is required otherwise API requests will fail.

    echo "API_URL=http://<ip_address_host_here>:3000" > .env

    e.g.

    echo "API_URL=http://123.456.7.890:3000" > .env
  4. Run the following command to create AMPLITUDE_KEY environment variable:

    echo "AMPLITUDE_KEY=test_key" > .env
  5. Create an empty ./google-services.json file in the root of the application.

    echo "{}" > google-services.json
  6. Run the following commands

    npm install
    expo start
  7. Run the mock server

    npm run mock-server

Git Hooks

The git hook checks can be manually disabled calling git commit and git push with the --no-verify flag if needed.

Tests

  1. Run the standard suite of integration tests

    npm test
  2. Check the i18n strings for a locale are complete

    npm test:i18n sv-SE

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated - see the contributing guidelines.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Common Issues

These are some known, common issues and their solutions:

  1. Changes to .env don't get picked up.
  • Solution: Change some of the source code or restart the expo project running expo start -c

License

Distributed under the Apache 2.0 License. See LICENSE for more information.

Contact

ZOE Engineering - [email protected]

Acknowledgements

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.