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
- Documentation:
- Table not dummy proof enough, all abbreviations (Poor comm)
- Password and JWT secret - example
- Table schema in backend, script to create table
Deliverable:
- Setup ES Lint
- Able to download APK (consider publish) + able to compile and run
- How to design backend, forgein keys, when to uid or other identifer, starting with db table
- Setup Prettier (Done)
- Learn of Github actions (optional)
- 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
Post a Comment