I was put in a not dissimilar situation with my first job and in many ways it was the making of me. If you're any good at this game you'll rise above the challenges and it can push you years ahead in your career. So option #2 for sure.
The catch is that you are inexperienced and being asked to do a great deal. Your employer should have no expectation for you to perform at this level, and the risk is entirely theirs. I would expect most people put in your position to sink, not swim, and it therefore follows that so will the company. If you have anyone senior to still follow and get advice from then do so. Leverage everything you can, because if you spend most of your time with clients then you aren't spending it learning to code.
And remember that because the expectation is unrealistic, if you do succeed here then you damn well should be rewarded for such when the company starts making profits again.