Connecting Platform to Backend and updating the routes.rb