A bioengineered synthesis scheme for the production of L-1,2,4-butanetriol, D-1,2,4-butanetriol and racemic mixtures thereof from a carbon source is provided. Methods of producing L-1,2,4-butanetriol, D-1,2,4-butanetriol and racemic mixtures thereof are also provided. Methods are also provided for converting D-1,2,4-butanetriol and L-1,2,4,-butanetriol to D,L-1,2,4-butanetriol trinitrate.