[Devember 2021] What to Watchlist

After some deving to give users a profile page to be in compliance with can-spam. I have gone through linode support to get ports opened for email access. After that it seems that I have gotten to the point where I achieved my original goal and while it’s not perfect the structure of the app is there.

Moving forward I am going to be focusing on getting a production worthy deployment. It will actually have the lithic/privacy API removed because Issuing cards for people is in their enterprise tier. As a well to do developer I assume I am a bit far off from having all my ducks in a row to call myself an enterprise.

Anyways…

This weeks milestones:

  • Short circuit js syntax update using ‘Optional Chaining’. Awesome addition to language found and went over my code to refactor/easily simplify certain sections of my code.
  • Changed how I use ID’s for media. Found this and knew it would be an issue.
  • added basic user profile page.
  • limited space used by the list of streaming providers. It easily got out of hand after the first dozen of movies in a watchlist.
  • On the page for an individual piece of media you can browse what streaming services are available for a region.

Changing media ID’s
I had tried to not deviate to much from the base api TMDB gave me. Even though it is significantly easier for me to just throw tv shows and movies in the same collection. I had code where I do the same query on both collections separately and then combine the results. After seeing there is the possibility for ID collisions I modify it by adding ‘m’ or ‘t’ to the beginning. Now it’s all in the same collection and there is just a little bit of conversion before I cache things locally. A lot of code throughout the project has been cleaned up by this simplification.

User Profile
user profile

Compact Services
provider packed

Streaming Regions
streaming regions