created api controller, trips, and posts controller,

created api routes and nested routes for trips and posts"
"