added server test for get posts, made model posts, added server logic for post, and tests migrations.