Chagee Together!
so i make a new page in my personal site that am really proud that is chagee receipt
umm so first of all chagee is a milktea brand and they have an app that you can order and it will have a history so i reverse engineer the app api
which is quite hard as the app use flutter which doesn’t really want to work well with proxy so i try using tool that will force that but it doesn’t really work so am about give up
but then i found out there a web version that also use flutter but the http request shown up in network tab so yea there that i map out the api format and stuff
then i write a cloudflare worker that will request the api then forward it to the site the reason am not directly fetching api from the app in my site is just there auth token and am pretty sure (not tested yet) that you can just do a POST to api that order the drink
so yea also from the last devlog to this one i have been reworking my personal site by :
- break up script and styling into smaller modular file
- use turbo frame for sidebar component
- new page structure with sidebar instead
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.