Ronas IT template for React Native + Expo projects.
- Build and submit configuration templates
- Feature-oriented project structure
- Code linting and formatting using ESlint & Prettier (with pre-commit auto-formatting)
- Testing environment setup with simple tests examples
- Common modules and basic components for a quick start
- Redux setup and entities CRUD implementation using RTK [Work-in-progress]
+ Demo app that interacts with some open API.
Init your project:
npx create-expo-app -t @ronas-it/react-native-starter
Follow TODO
s in a generated project to update your app configuration and clean up demo code.
See package.json
for pre-defined scripts. You can run them using npm run {script}
or yarn {script}
:
start
- Start localdevelopment
-env server to develop with Expo Go- Run server locally for other environments:
start:{environment}
- To develop with Development client start server with
--dev-client
flag
- Run server locally for other environments:
lint
- Run necessary code checksformat
- Run code autoformattest
- Run testsbuild:{environment}
- Create builds for both platforms- Pass
-p {android|ios}
to run a platform-specific build - To create a Development client build run
build:debug
- Pass
submit:ios:{environment}
- Submit iOS build to AppStore Connectupdate:{environment}
- Publish OTA-update
This project includes a demo application that simulates login and displays some demo users list. Data is populated from Go Rest Open API.
- Run the project using
start
script. - Open the app using Expo Go or Android Emulator/iOS Simulator.
- Use any valid email and non-empty password for login into demo app.