Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.38 KB

README.md

File metadata and controls

23 lines (13 loc) · 1.38 KB

Watch Better Films

films.jthaw.club is a website to help you decide what to watch. There are thousands of 'greatest ever' films out there, and this site tries to playfully bully you into making that decision. Choose by genre or even by director and get given 3 options. The site then makes it annoying on purpose to do that process again, so that you really think about your 3.

Running

Install with npm install. Because its deployed its dependant on the functions framework netlify uses, so you need to use netlify cli and run

netlify dev

to run the site

Data

The data is all stored in an sqlite database here. You'll notice in that file too there are 2 json files that populate the filter page, this is so that I don't need to make any needless queries on the DB. Originally the site was ran off of that DB and it was great, but when deployed it was extremely slow, so now it builds static files of everything which is boring.

The data needs to be rebuilt locally, so I set a calendar reminder to run this file every month, to get new releases. Very old school I know, but I deploy the site on netlify and it just felt the easiest option for me (as the file directory is rightfully a little weird when deploying a static site with functions etc.)

Info

This is 2.0 built on top of sveltekit, as part of my spring cleaning of old sites.