A Bournemouth woman went on a weight loss journey after doctors said she had only five years left to live.