A chitosan-based nanoparticle that comprises a plurality of chitosan polymers that have an average molecular weight between 3 kDa and 50 kDa, and encapsulates a construct. The construct comprises a nucleic acid that encodes a protein operably linked to an expression control region that is functional in a gut mucosal cell. The nanoparticle can be used to treat a disease by encoding a therapeutic protein.