Straight Line is a game where the objective is to walk a line through a rough terrain as straight as possible. The gps will track how much you deviate from the set line and will give you a score in the end.
- React Native
- Expo
- Graphql
- AWS Amplify
- Redux
- Codemagic CI/CD
- Material UI
- react-native-maps
- react-native-paper
- lodash
The presentation layer handles only user input and data display, there will be no other logic in the presentation layer. User input and useEffect functions will always call a use case function wereby the use case function handles the data.
Example:
Use case functions do 3 main things: Fetching data, error handling and modifying data so it's compatible with the UI components. The use case functions use generator and helper functions to modify the data, this keep the use cases concise and easy to read.
Example:
The Resource layer handles the actual data fetching. From local sources we get screen dimensions and gps data with the help of expo libraries, from remote sources we get weather data or geographical data (elevation) or data from the AWS backend with GraphQl.
Example:
Welcome Screen | Explore Screen
Create Line Screen | Detail Screen
Live Screen | Review Screen