Just found out I have gestational diabetes

And I have no clue what I can and can’t eat. I was wondering if anyone who has had it/currently has it drinks coffee? That’s one thing I’m really not looking forward to giving up, but wanted to know if there is an option for us?