Skip to content

πŸš€ High-performance, Enterprise Grade, maintainable React Native boilerplate with tons of features! πŸ“±πŸ’ͺ😎 Accelerate your app development! πŸ”₯πŸš€

Notifications You must be signed in to change notification settings

sagarkhanal07/reactnative-enterprise

Repository files navigation

🚧 Work In Progress

This project is highly inspired by next-enterprise. But for Expo/React-Native.

πŸ“š Features (TODO)

  • Expo - Built with Expo for cross-platform support
  • 🎯 Absolute imports - For better imports and code organization
  • πŸ“ Conventional commits git hook - For enforcing conventional commits
  • πŸ€– Renovate BOT - For keeping dependencies up to date
  • πŸ› οΈ Improved TypeScript - With ts-reset library for ultimate type safety
  • 🩹 Patch-package - For patching dependencies
  • πŸ’» T3 Env - For environment variables management
  • πŸ“Š Bundle analyzer plugin - For analyzing bundle size
  • πŸ§ͺ Jest and React Testing Library - For testing components and features
  • πŸ“• Storybook - For isolating and testing UI components
  • πŸ“ˆ Components coupling and cohesion graph - For analyzing components relations
  • πŸ€–πŸ§  Automated ChatGPT Code Reviews - For improving code quality and AI assistance code reviews
  • 🚒 Semantic Release - For automated versioning and CHANGELOG generation
  • πŸ—„οΈ Auto Sort Imports - Automatic organizing of imports on file saves.

🚦 Roadmap (Updated as implemented)

Expo

Project Initiated with

npx create-expo-app --template

Absolute Imports

Clean code and code writing easier. Preconfigured by default.

Conventional Commits

Configured with commitlint to automatically validate commit messages following the conventional-commits standard.

TS-Reset | Extremely Strict Typescript

TypeScript's default type declarations may have imperfections, but ts-reset enhances them.

Automated ChatGPT Code Reviews

Configured with chatgpt-codereview action workflow.

Patch Package

Configured with patch-package to patch dependencies as needed. For eg: npx patch-package package-name

Bundle Analyzer

Configured with react-native-bundle-analyzer
Run npm run analzye:bundle which generates bundle map and show you what's inside of your react-native bundle

Coupling Graph

Configured with skott
Run npm run coupling-graph to get graph of your components and how they are coupled. This helps identify components that are too tightly coupled and should be refactored.

Auto Sort Imports

Automatically organize imports on file saves. Be sure to enable on your user settings for better experience.

"editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
},

Renovate Bot

Configured with renovate-bot to keep dependencies up to date.

T3 Env

Configured with t3-oss/env-core. Typesafe environment variables management integrated along with zod.

Storybook

Configured with storybook-react-native to isolate and test UI components. Configured with global decorators and easy to write storybook under each components.

About

πŸš€ High-performance, Enterprise Grade, maintainable React Native boilerplate with tons of features! πŸ“±πŸ’ͺ😎 Accelerate your app development! πŸ”₯πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published