You've got your SQL queries inline in your handlers... https://github.com/FACG2/Blog/blob/master/src/handlers/post.js#L27