jamesmk.com with postgresql db