code examples for Web Apps production