A whole-cell biosensor based on synthetic biology provides a promising new method for the on-site detection of food contaminants. The basic components of whole-cell biosensors include the sensing elements, such as transcription factors and riboswitches, and reporting elements, such as fluorescence, gas, etc. The sensing and reporting elements are coupled through gene expression regulation to form a simple gene circuit for the detection of target substances. Additionally, a more complex gene circuit can involve other functional elements or modules such as signal amplification, multiple detection, and delay reporting. With the help of synthetic biology, whole-cell biosensors are becoming more versatile and integrated, that is, integrating pre-detection sample processing, detection processes, and post-detection signal calculation and storage processes into cells. Due to the relative stability of the intracellular environment, whole-cell biosensors are highly resistant to interference without the need of complex sample preprocessing. Due to the reproduction of chassis cells, whole-cell biosensors replicate all elements automatically without the need for purification processing. Therefore, whole-cell biosensors are easy to operate and simple to produce. Based on the above advantages, whole-cell biosensors are more suitable for on-site detection than other rapid detection methods. Whole-cell biosensors have been applied in various forms such as test strips and kits, with the latest reported forms being wearable devices such as masks, hand rings, and clothing. This paper examines the composition, construction methods, and types of the fundamental components of synthetic biological whole-cell biosensors. We also introduce the prospect and development trend of whole-cell biosensors in commercial applications.