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:

  1. How to build backend - mobile app interact with backend server e.g. AWS
  2. To code in Typescript and include testing
  3. 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
  • Documentation:
    • PDF
    • Table not dummy proof enough, all abbreviations (Poor comm)
    • Password and JWT secret - example
    • Table schema in backend, script to create table

Deliverable:

  1. Setup ES Lint
  2. Able to download APK (consider publish) + able to compile and run
  3. How to design backend, forgein keys, when to uid or other identifer, starting with db table
  4. Setup Prettier (Done)
  5. Learn of Github actions (optional)
  6. Create an AWS account - RDS

Further Reading:

https://dev.to/yoshi_yoshi/typeorm-prevent-sql-injection-with-node-js-react-typescript-in-2021-1go4








Comments