Integrated biosensor platforms have become subjects of high interest for consolidated assay preparation and analysis to reduce sample-to-answer response times. By compactly combining as many biosensor processes and functions as possible into a single lab-on-chip device, all-in-one point-of-care devices can aid in the accessibility and speed of deployment due to their compact size and portability. Biomarker assay preparation and sensing are functionalities that are often carried out on separate devices, thus increasing opportunity of contamination, loss of sample volume, and other forms of error. Here, we demonstrate a complete lab-on-chip system combining sample preparation, on-chip optofluidic dye laser, and optical detection. We first show the integration of an on-chip distributed feedback dye laser for alignment-free optical excitation of particles moving through a fluidic channel. This capability is demonstrated by using Rhodamine 6G as the gain medium to excite single fluorescent microspheres at 575 nm. Next, we present an optofluidic PDMS platform combining a microvalve network (automaton) for sample preparation of nanoliter volumes, on-chip distributed feedback dye laser for target excitation, and optical detection. We conduct concurrent capture and fluorescence tagging of Zika virus nucleic acid on magnetic beads in 30 min. Target-carrying beads are then optically excited using the on-chip laser as they flow through an analysis channel, followed by highly specific fluorescence detection. This demonstration of a complete all-in-one biosensor is a tangible step in the development of a rapid, point-of-care device that can assist in limiting the severity of future outbreaks.