Skip to content

Template for building mobile apps with React Native.

Notifications You must be signed in to change notification settings

bigger-tech/template-mobile

 
 

Repository files navigation

template-mobile

Template for building mobile apps with React Native.

This project was created with (Expo)[https://expo.dev/].

Installation and setup

⚠️ 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.

Environment Variables

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.

Running the project

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

Tests

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.

About

Template for building mobile apps with React Native.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.7%
  • TypeScript 26.0%
  • Shell 2.3%