The entire codebase was linted so the production build no compiles. There were small errors throughout the codebase like unused imports and a type error when doing (new Date() - new Date(2018, 1, 1). You may now run npm run build.
Although the steem blockchain only considers posts unique by their author and permlink, a tag is still needed on sites like busy.org and steemit.com because the url for a given post is something like <domain>/<tag>/<author>/<permlink>. I also cannot assume that the tag is always going to be nowplaying because some authors will not follow the rules 100%. I am now keeping track of the tag field in the database which will be used when displaying all contestants and their posts.
In the past there was a main function that would always have to be edited. With this pull request there is a new folder /src/process which holds files that do one thing: that process. There are three process files currently:
This leaves a single executable javascript file with one purpose. This will be very useful for scripts and cron jobs. It is a step towards scheduling the weekly recap and new week posts.
Check out the #nowplaying community and bot in action here