Template for building mobile apps with React Native.
This project was created with (Expo)[https://expo.dev/].
⚠️ It's recommended to use Visual Studio Code as well as Prettier, Eslint and EditorConfig for VS Code extensions for development using this template. It's also recommended to use Node version 18.x.
To install this project, you have to run npm install
in a terminal to install the required dependencies.
To be able to use environment variables, this project makes use of react-native-dotenv. You will have to create a .env
file in the project's root and add any required variables you need. You will also have to tell TypeScript which variables did you add by editing config/types/env.d.ts
. This last step is required for react-native-dotenv to work property with TypeScript.
npm start # Run Metro server
npm run android # Run app on an Android device or emulator
npm run ios # Run app on an IOS device or emulator
npm run web # Run app on a browser
This project uses jest and react-test-renderer for unit and snapshop testing.
test:watch # Run tests and keep watching for changes.
test:cov # Run tests and collect code coverage.
test # Run tests once.