This is an opinionated React Native app setup as usually used in Brains & Beards.
npx react-native init MyProject --template https://github.com/brains-and-beards/react-native-template-redbeard --title AppName --directory my-projectProject inits with some demo usage files. You can browse them to see the proposed usage patterns. After init feel free to remove them:
src/__mocks__/fixturessrc/api/mappers/comicMappers.tssrc/api/types/comic.types.tssrc/api/comics.tssrc/components/inputs/DemoTextInput.tsxsrc/components/surfaces/DemoCard.tsxsrc/localization/plsrc/screens/LoginScreen.tsxsrc/screens/DemoScreen.tsxsrc/screens/DemoScreen.test.tsxsrc/screens/TranslationsDemoScreensrc/screens/demoSlice.tssrc/screens/__tests__/demoSlice.test.ts
Project contains basic code for auth token management. It stores sensitive information with react-native-encrypted-storage library. Although it has been listed in react-native's official docs, it's a community-maintained package. Use at your own risk or replace it with your own implementation.