How to create an app from scratch