RNStarterTemplate is an opinionated (by me) starting template for RN projects.
The idea behind this project is to have a project template for quick prototyping. It has preconfigured tech stack that I use the most, so I can mostly pass over the stop of the project setup and just jump straight into implementation of functionalities.
react-navigation
with initial boilerplate,redux
,react-redux
,redux-logger
,redux-thunk
,redux-persist
with a reducer for settings,- API clients:
- REST with Axios,
- GraphQL with Apollo,
- configured localization with
i18next
,i18next-pseudo
,react-i18next
, styled-components
andstyled-system
,lottie-react-native
with example animations for success, failure, loading and empty state,react-native-version-number
andreact-native-version
for native bundles version updates after js package version update byyarn version
,react-native-config
for .env file and preview of it,- unit and snapshots tests, redux testing with
redux-testkit
and event testing withreact-native-testing-library
eslint
withairbnb
-based config, but without semicolons at the ends of lines,- configured
prettier
, prop-types
,- absolute paths for imports,
.gitignore
configured for RN and other used tools,.vscode
settings for Visual Studio Code to format files on save with prettier extension,- and finally a dev screen with useful settings and previews, that you can access with 4 quick taps at "Welcome to React" header,
- default setup for Danger.js (it works with CI of this repository).
Yes, you are welcome to use it in your projects if you like. If you have an idea for an improvement of this template - PRs are also welcome.