camera app with client side code