An iOS App for finding top female YouTubers in Japan (who are actually popular).
yarn install
yarn start
yarn debug
yarn test
yarn test:unit
yarn lint
yarn lint:fix
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.
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.
style.js
in the same directory as components
.spec.js
files in the same directory as business logic
The unit tests for a module shouldn’t be shoved in some far-away corner of the source tree. They need to be conveniently located.
by The Pragmatic Programmer)index.js
for constant
/function
/class
/redux-functions
/etc indexing (no need to use export default
which is not easy to find what is exported sometimes.)
I love Japanese YouTubers like MEGWIN, 東海オンエア, 禁断ボーイズ, スカイピース, アバンティーズ. They talk about female YouTubers sometimes, so I wanted to give something valuable for them.