I'm trying to run service worker on my react app. So I used the tutorial and installed a react app with pwa-template, and changed the unregister part to register in my index.js. I'm not sure what to do next cause it's not working and I guess I missed something in between. Can anyone help me with that?
ps: this is my github repository for my project. I mixed it with pwas and I've done all parts. Note that you need to clone and run this api with "npm run prod" to work with my code.
my code repository: https://github.com/Sararmjalal/blogtorpwa
api code repository: https://github.com/Sararmjalal/blogtorpwa
I've done everything but still service worker not registering. can you check out what I did wrong?