Ask HN: I think I’ve burnt out. What should I do?
Here's what I would advise. Do not under any circumstances quit your job. I've lived through a similar scenario, and while I had a ton of savings, quitting my job resulted in chaos. Poor sleep schedule, dropping motivation, etc. I would get a therapist. Secondly, if your job is stressful, try and find another developer job at a large slow moving, mediocre paying corporation. Mostly recovering from burnout takes time, you just need to weather it out.