what works -> features
API route to publish posts should probably route somewhere
change post.Viewcount type into uint
add if condition to Update and Publish routes to display that action was unauthorized (HTTP 401)
add error logging if DB query is empty and remove stranded empty line
add tests for creating, reading, publishing and listing posts