What are the three essential parts for providing a service like Instagram Stories?

The app, the server, and the internetThe app, a good WiFi connection, and awesome selfie taking skills

Woohoo!

Not quite. You may have noticed Instagram still works for those with bad selfies.