Hmm... guess I lied when I said I'm breaking it down. Somehow this one turned out to be another gigantic PR again. I'm sorry guys 😢 Rather than looking at each changes, maybe run the app and confirm if the behaviours are as expected.
Most of the changes are coming from the fact that I had to change the client side to use Destination and Trecipe interfaces in the shared folder.
Basically added bunch of service methods for calling server endpoints, and connected them to each page.
Also fixed one bug with destinations getting wiped out on reload on Trecipe and Map page (#74)
To come:
3XX, 5XX error handling on client side
extracting photos from Place Details request
photo uploading for trecipe (this one is done, only need to make a PR on top of this)
Hmm... guess I lied when I said I'm breaking it down. Somehow this one turned out to be another gigantic PR again. I'm sorry guys 😢 Rather than looking at each changes, maybe run the app and confirm if the behaviours are as expected.
Most of the changes are coming from the fact that I had to change the client side to use
Destination
andTrecipe
interfaces in the shared folder.To come:
Closes #22