Web application that writes to a mongoDb