Easiest way is to get something like
this smartphone adapter for your eyepiece. If you enjoy it then you could always think about getting a dedicated astro camera or slr and do prime focus astrophotography without an eyepiece. The reason people don't use an alt-az mount like a dobsonian is because objects rotate over time. But for short exposures it's fine, so have fun.