Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/securingsincity/antidote
https://github.com/securingsincity/antidote
Last synced: about 13 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/securingsincity/antidote
- Owner: securingsincity
- Created: 2016-09-25T12:53:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T04:04:37.000Z (over 3 years ago)
- Last Synced: 2024-11-08T02:10:19.587Z (about 2 months ago)
- Language: JavaScript
- Size: 13.1 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Antidote
Demo Video
https://youtu.be/RJ0zUQ49b6o## :arrow_up: How to Setup
**Step 1:** git clone this repo:
**Step 2:** cd to the cloned repo:
**Step 3:** Install the Application with `npm install`
**Step 4:** Install the react-native-cli `npm install -g react-native-cli`
**Step 5:** Get the extra sectret files password form @spoonscen or @securingsincity
**Step 5:** Get the first extra secret file and put it here `andriod/app/google-services.json` https://privnote.com/lIgxwB1P
**Step 6:** Get the second extra secret file and put it here `ios/GoogleService-Info.plist` https://privnote.com/TiHXDYpm
**Step 7:** Set up the server https://github.com/securingsincity/Antidote-server
## :arrow_forward: How to Run App
1. cd to the repo
2. Run Build for either OS
* for iOS
* run `react-native run-ios`
* for Android
* Run Genymotion
* run `react-native run-android`## :closed_lock_with_key: Secrets
This project uses [react-native-config](https://github.com/luggit/react-native-config) to expose config variables to your javascript code in React Native. You can store API keys
and other sensitive information in a `.env` file:```
API_URL=https://myapi.com
GOOGLE_MAPS_API_KEY=abcdefgh
```and access them from React Native like so:
```
import Secrets from 'react-native-config'Secrets.API_URL // 'https://myapi.com'
Secrets.GOOGLE_MAPS_API_KEY // 'abcdefgh'
```The `.env` file is ignored by git keeping those secrets out of your repo.
## :open_file_folder: Related Articles
Ignite Documentation - [Ignite Wiki https://github.com/infinitered/ignite/wiki](https://github.com/infinitered/ignite/wiki)
* React Native App Utilizing [Ignite](https://github.com/infinitered/ignite)