search feature

Added search feature to browse all posts. Added posts route (index).