Added default value in routes for popular and recent posts api and also added Posts module in client-side