generate routes, make and run migration for microposts