Skip to content

medaymenTN/ts-react-native-expo-boilerplate

Repository files navigation

Ts React Native Expo boilerplate

A simple RN/Expo App that provide the current feature for starting up a new projet

  • Scalable file structure
  • Login and register UI using NativeBase components
  • Setup for Redux as a state managment library + example of store( userStore )
  • Setup for navigation system between screen using React-navigation
  • TypeScript

Setup

  • clone the git repo
  • cd to the git repo and run yarn && yarn start
  • run the command expo start
  • Install the expo client app on your phone
  • Launch the expo client and scan the QR code

This should have the app running on your phone.

File Structure

├── README.md
├── node_modules
├── package.json
├── app.json
├── App.tsx
├── .gitignore
└── src
     |__components
     |__containers
     |__routes
     | |navigation.component.tsx
     | |__routeNames.enum.ts
     | |__routes.ts
     |__store
     | |__UserStore
     | | |__action.enum.ts
     | | |__types.d.ts
     | | |__user.action.creators.ts
     | | |__user.action.ts
     | | |__user.reducer.ts
     | |
     | |__rootReducer.ts
     | |__store.ts
     | |__types.d.ts
     |
     |__services(xhr)
         |__UserService(example)
         |__endpoints.enum.ts
         |__xhrConfig.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages