Converting app to PWA

Is there an OTB solution for this or I would need to insert a service worker and set up the PWA in react ?