Team King of Spades

Inspiration

In a big expensive city like London, tourists face a wide range of problems some of which can have really straight forward solutions.Here at ToiletMag.net we try to provide a solution for a problem that not many people think about, until it strikes.

What it does

Upon receiving users location through SMS, it finds the nearest public toilet base on [ToiletDatabase](https://greatbritishpublictoiletmap.rca.ac.uk/). After, it returns the location of the toilet and the shortest path to it. It also provides an ETA and complete directions.

How we built it

We first scraped the public database of free toilets in London, then we crated a Twilio interface to get a users location. After that, we calculate the users location using Haversine Formula and Google Maps API. This gives the user the location of the closest free public toilet as well as the shortest path and directions to it.

Challenges we ran into

  • Scraping the data, since there was no public available API.
  • Deploying the website
  • Creating a responsive server
  • Sending proper directions, in a user-readable format

Accomplishments that we are proud of

We are proud we were able to finish our idea and properly integrating both APIs.

What we learned

  • Node.js
  • Scraping data
  • Team cooperation
  • Advanced HTML and CSS techniques

What's next for ToiletMag.net

Expanding globally.

Card

King of spades
Share this project:
×

Updates