With #63 we have automatic ratings, but this includes way more steps required to go through when you add a new movie.
My 2 cents:
- Generate
storage.js from _prebuilt.md - The user is going to add the IMDb link when adding a movie. We could simply parse the file and add this into storage.js
- Make
Contributing.md more understandable. I had to hunt for _prebuilt.md
Then run npm run build-movies -> This is assuming that whoever is adding the movie knows how to use npm to install dependencies. Correct me if I'm wrong, but the user needs a local api-key?
- Use something like Travis CI to build instead. I'm thinking of a pipeline like this:
User modifies prebuilt.md and sends PR > Accept PR > CI automatically generates storage.js from _prebuilt.md. Then it runs npm build-movies and deploys it back to branch.
With #63 we have automatic ratings, but this includes way more steps required to go through when you add a new movie.
My 2 cents:
storage.jsfrom_prebuilt.md- The user is going to add the IMDb link when adding a movie. We could simply parse the file and add this intostorage.jsContributing.mdmore understandable. I had to hunt for_prebuilt.mdThen run npm run build-movies-> This is assuming that whoever is adding the movie knows how to use npm to install dependencies. Correct me if I'm wrong, but the user needs a local api-key?User modifies prebuilt.md and sends PR>Accept PR> CI automatically generatesstorage.jsfrom_prebuilt.md. Then it runs npm build-movies and deploys it back to branch.