Welcome to Squareme Mobile App Demo
Here is an overview of the project's folder structure:
__tests__/
: Unit and integration testsandroid/
: Android native files and configurationsios/
: iOS native files and configurationsassets/
: Images, fonts, and other static assetssrc/
: Source codecomponents/
: Reusable UI componentsmodels/
: Typescript Interfaces ans typesnavigation/
: Navigation configurationsscreens/
: Individual screens or pagesstore/
: Context API setup, actions, reducersutils/
: Helpers, and constants like colors, route names, keys and sizes
App.tsx
: Main application entry pointindex.js
: Main application registry.gitignore
: Git ignore file.prettierrc
: Prettier configurationjest.config.js
: Jest config file for unit testingreact-native.config.js
: Project config filepackage.json
: Node.js dependencies and scriptsREADME.md
: Project documentation
To get started with the project, follow these steps:
- Clone the repository:
git clone [git@github.com:thesaintzion/squareme-mobile-app.git]
- Install dependencies:
npm install
- Run the app:
npm start
- Start the dev sever:
npm start
- Run on Android:
npm run android
- Run on ios:
npm run ios
- Install dependencies for IOS:
npm run ios:install
- Update dependencies for IOS:
npm run ios:update
- Gradle Clean for Android:
npm run android:clean
- Link assets (eg: if you add new fonts..):
npm run link-assets
- Run lint:
npm run lint
- Get list of available devices on your machine:
npm run devices
- Delete/kill all running watchman and reset cache:
npm run watch-reset
- Run the test:
npm run jest