Skip to content

This is a React Native template for next projects.

License

Notifications You must be signed in to change notification settings

diegobugs/react-native-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Template

React Native Template

React Native Template is released under the MIT license. GitHub repo size GitHub release (latest by date) GitHub forks

📱 A template for your next React Native projects. It is prepared with some of my basics dependencies and cool features: Typescript, react-navigation, Redux toolkit, Redux persist using MMKV.

💎 Features

  • ✅ Last React Native version
  • 🔭 Type checking TypeScript
  • ⚙️ Clean project structure with Absolute Imports
  • ☂️ React Navigation

🕹 How to use it

Start your project using my template by running this command:

npx react-native init SomeApp --template https://github.com/diegobugs/react-native-template.git

To install an older version

npx react-native init SomeApp --template https://github.com/diegobugs/react-native-template.git#VERSION

Project structure

src
├── components          # UI components with Atomic Design
│   ├── atoms
│   │   ├── Text
│   │   └── index.tsx
│   ├── molecules
│   ├── organisms
│   └── index.tsx       
├── navigator             # Navigation, main stack
│   ├── Navigator.tsx
│   └── index.ts
├── screens                # App screens
│   ├── HomeScreen
│   └── index.tsx
├── store                # Redux store
│   ├── Settings
│   ├── Store
│   │   ├── reduxStorage.tsx
│   │   ├── store.ts
│   │   └── index.ts    
│   └── index.ts    
└── utils                    # ui utils and theming
    ├── Theme
    ├── constants.tsx
    ├── index.tsx
    └── types.ts

🔖 License

This project is MIT licensed.

React Native Template image by React icons created by Dreamstale - Flaticon