avalynndev / enjoytown

A website where you can watch drama, anime, movies and read manga for free. crafted using next.js and shadcn/ui
https://enjoytown.netlify.app
145 stars 39 forks source link

Refactor APIs and Proxy #152

Closed ctrlsam closed 2 weeks ago

ctrlsam commented 2 weeks ago

What kind of change does this PR introduce?

Refactor API + Features + Use Route Proxy

If relevant, did you update the documentation?

Yes, removed the need for TMDB proxy

Summary

  1. Moved TMDB and other fetching logic into lib
  2. Removed TMDB proxy as this can be done via middleware which also hides API keys
  3. Added trailer button to movie & tv details
  4. Added similar & recommended shows to details
  5. Linted for consisting style with Prettier

Other information N/A

netlify[bot] commented 2 weeks ago

Deploy Preview for enjoytown ready!

Name Link
Latest commit b923e47c014903b8b9b793fe177e65d09e3932a3
Latest deploy log https://app.netlify.com/sites/enjoytown/deploys/672718bb607865000870aa12
Deploy Preview https://deploy-preview-152--enjoytown.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

avalynndev commented 2 weeks ago

Hey Sam,

Your contribution to this project is huge. Your work is very much appreciated.. Thank you !! I might take a bit of time for reviewing these changes, i will try to merge this PR by tomo.

Thanks, avalynndev

avalynndev commented 2 weeks ago

Hey.. noticed you even added the recommended shows and related shows.. greatly appreciate that