Create a Sinatra app that records the places to which you have traveled. The app must meet the following requirements:
- The app should have a
places.txtfile, which records the name of each place in its own line. - Visiting
/placesshows you a page listing all the places that are in theplaces.txtfile. - On the same page, there is a form which takes in the name of a place. Submitting this form sends a
POSTrequest to/places. - Upon form submission, the name of the place is added to the
places.txtfile, and the page is updated to include the submitted place in the list of places. - Submitting a blank form does not modify the
places.txtfile.