Posts

First Mentorship Session

Previous Deliverable Able to download APK via React Native CLI, to try doing so via using: Expo - Git EAS account and template (https://docs.expo.dev/build-reference/apk/) Areas to explore: How to build backend - mobile app interact with backend server e.g. AWS To code in Typescript and include testing CI/CD, understand whole pipeline (Github) Compile & Build Test Push to EAS Write pull request Issue  - glenn/<>           For React Native, Everything in 1/mono repo - frontend and backend Review of Code and Documentation To understand code, usually read test first to get insights For authentication, beware of man in the middle attack/SQL injection For SQL Query, recommended not to use LIKE for exact match. Use "=" For take-home assignment, ask clarifying question e.g. areas to test on, and areas not covered, how well-designed certain features should be e.g. Can I implement from scratch, can i use the secure way or the not so secure way Documen...

Set-up

Image
 From the official documentation, there are 2 ways to set-up and run the app. Expo React Native CLI Expo is easier but it does not allow you to generate an apk for your android app. The CLI allows you to do so but require several setup, namely: Chocolately - a package manager, I had one but its updated, so I had to learn how to upgrade it. I watch the following video https://www.youtube.com/watch?v=zVq60jcb96s and realised that a useful way to use command line is to use the --help commands.          To upgrade, I need to know the package name, so I key choco outdated before keying choco upgrade 2. Installing Java 3. Setting up Android Studio -  Android Native Doctor to diagnose error https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor Soln: Need to show package details to include newer SDK build tools The issue for this is that the compiled SDK level must match the latest sdk Soln: Go to File > Project S...

Ideation session

The first session is an ideation session. My first lesson is that tech is used to solve real world problem. From that, we list all the real world problems I had and narrow down to the most pain point problem I had. After that, came the system design. One way of looking at the system is to think of how the following should be handled:  Presentation Input Process We narrow down the use case to mobile phone and decided to work on a react native app. Deliverable:  Be able to run app on phone Able to hit public API endpoint Designing and Visualization of UI