The ACONITE project aims at providing a simple and yet effective tool to improve food safety from farm to fork. We aim at reaching this goal by implementing a novel photonic platform for real-time detection of gram positive and negative bacteria, which are deemed to be responsible for most food-borne illnesses and hospitalizations. Bacteria detection in food is currently performed by plate count method analysis. Similarly, toxins are revealed by specific immunological kits or by liquid chromatography combined with mass spectrometry and toxin genes are then extracted by means of PCR-based approaches. These techniques, although have many pros, are extremely time-expensive and require costly instrumentation and well-trained personnel to perform the analyses. On the other hand, the ACONITE approach simplifies the detection scheme by monitoring the changes in structural colors of Mie-resonant based nanostructures properly functionalized to reveal the presence of gram positive and gram-negative bacteria. By relying on the peculiar properties of Mie resonances that shift in frequency when the surrounding medium changes its properties, we will be able to approach the signal transduction with conventional far-field spectroscopic techniques. The constituents block of our sensing platform, i.e., SiGe Mie-resonators, will be designed, optimized, and realized through solid state dewetting process. This process transforms a flat layer in isolated islands in a timeframe independent from the sample extension. The proposed fabrication technique has tremendous advantages with respect to the lithographic approaches that are commonly used to realize optical nanostructures: i) it is low-cost; ii) it can be extended to very large surfaces; iii) it allows the transfer into transparent and flexible support. More specifically, we will implement a chemical transfer printing technique to move the nanostructure from rigid to flexible surfaces such as PLA, a biodegradable and compostable material that is widely used for flexible food packaging material. This approach will allow minimizing the disposal issue posed by conventional plastics and will mimic the use of real food packaging. The ACONITE project will benefit from the multidisciplinary nature of the consortium and the specific expertise of each partner with competences in nanofabrication, modelling, optical measurements, chemical treatments, microbiology, and food packaging resources, ensuring the realization of a real breakthrough towards the use of optical sensing to meet the challenge of getting safer food from farm to fork.