okmttdhr / Miss-YT

An iOS App for finding top female YouTubers in Japan
MIT License
3 stars 0 forks source link
firebase react react-native redux

Miss YT

An iOS App for finding top female YouTubers in Japan (who are actually popular).

Technologies

Setup

yarn install
yarn start

Debugging

yarn debug

Testing

All

yarn test

Unit

yarn test:unit

Lint

yarn lint
yarn lint:fix

Secrets

This project uses 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.

Different environments

Setting config for different environments in different files: .env.staging and .env.production.

# build for different environments
yarn start -- --scheme YOUR_APP_SCHEMA_FOR_ENVIRONMENTS

About Scheme, see Different environments iOS section.

Icon

TODO

Motivation

I love Japanese YouTubers like MEGWIN, 東海オンエア, 禁断ボーイズ, スカイピース, アバンティーズ. They talk about female YouTubers sometimes, so I wanted to give something valuable for them.