For server, refer: cloudflare-workers-d1-hono-drizzzle-better-auth-template
Taking [https://github.com/qinsong77/RN-Expo-Starter/tree/1.0.0] more with
- Tailwindcss by nativewind
- Authentication
- i18n with i18next
- Universal shadcn/ui for React Native with react-native-reusables
- etc...
Taking gluestack-better-auth more with:
- UI component:gluestack v2
- Auth: better-auth
- Base on Expo
- Tailwindcss by nativewind
- i18n
- Dark theme
- Jest & React Native Testing Library
- Authentication
- sign in, sign up
- process as guest
- protect route and action
Supabase - TBD
Update React Native rely on Expo, check the doc here: Upgrade Expo SDK
bun install expo@latestorbun install expo@nextbunx expo install --fix(bunx=npx), or justbunx expo install expo@^52.0.0 --fix- check the Changelog
- Check for any possible known issues:
bunx expo-doctor@latest
- GitHub action
- Integrate with lingui for i18n
eg:
jest.mock('@react-navigation/native', () => {
return {
...jest.requireActual('@react-navigation/native'),
useNavigation: jest.fn(),
}
})install, prefer using this for install expo related:
bunx expo install react-native-webview- Using https://docs.expo.dev/develop/development-builds/introduction/
expo-dev-clientfor production app - Don't wrap your whole app in SafeAreaView, instead apply the styles to content inside your screens, from: reactnavigation-summary
- sonner-native toast component for React Native.
- lucide-react-native
Build the UI components inspired by shadcn/ui, refer from:
- react-native-reusables Universal shadcn/ui for React Native featuring a focused collection of components - Crafted with NativeWind v4 and accessibility in mind.
- nativecn-ui
- gluestack-ui React & React Native Components & Patterns, seems good.
- style system and ui library tamagui
- react-native-ui-lib
- Expo UI
- uniwind The fastest Tailwind bindings for React Native
- install
ts-nodejust to support read TypeScript jest configuration.
pnpm dlx create-expo-stack rn-expo-starterfor init commit, base on create-expo-stack.- Perfect project init setting
- Check the commit
- Utilize shadcn/ui theme and components
npm install -g eas-clieas login- config esa.json, refer: eas.json
- eas build --platform android --profile preview --local
eas build --profile development-simulator --platform iosbuild for ios simulator without expo go for canny expo sdk