You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.3 KiB

2 years ago
# squarenotsquare
2 years ago
## Dependencies
- Node version 18
## Running the app
- Clone the repo
- Navigate to the directory in a cli with node accessible
- Run the command **npm install**
- Wait for the installation to complete
- Start an Android or iOS simulator (or connect a device with USB debugging configured)
- In the cli, pass the command **npm run android** or **npm run ios**
- Wait for the build to complete and install on the device
## Coding Conventions
2 years ago
- Lower-case single-word folder names
- Upper-case single-word file names
- Upper-case exports IF export is an object or reference
2 years ago
- Lower-case exports IF export is a function
## Testing Scripts
- "npm run **test**": run all tests with minimal console output
- "npm run **testVerbose**": run all tests with all console output
- "npm run **testCoverage**": produce coverage report for all project code
- "npm run **testActionCreators**": only test action creators
- "npm run **testApp**": only test app screens and components
- "npm run **testMigrations**": only test database migrations
- "npm run **testRepos**": only test database repositories
- "npm run **testDB**": only test database setup and API calls
- "npm run **testNav**": only test navigation
- "npm run **testThemes**": only test app theming and styles setup
- "npm run **testServices**": only test app services