https and React on localhost w/mkcert

Sdílet
Vložit
  • čas přidán 26. 06. 2023
  • Set up create-react-app so it will run on https using a node_modole instead of openssl. This is really useful when you have an API that requires a secure connection or need to test your app locally on a mobile device.

Komentáře • 8

  • @petitpati
    @petitpati Před měsícem +1

    You're the governor, bruv! Just saved me. Thank you so much for your work!

    • @robertbunch-dev
      @robertbunch-dev  Před měsícem

      Thank you :) Can't believe how often these topics are missing... code on!

  • @Donder1337
    @Donder1337 Před 12 dny

    This was really usefull! Thx!

  • @akremevolution4459
    @akremevolution4459 Před 6 měsíci +1

    I'm using windows, I changed my "start" command to be:
    "start": "set HTTPS=true&& set SSL_CRT_FILE=./certs/create-cert.pem&& set SSL_KEY_FILE=./certs/create-cert-key.pem&& react-scripts start"
    but still not getting SSL certificate

  • @user-yf6jt5yv1h
    @user-yf6jt5yv1h Před 2 měsíci

    thank!!!!!😀

  • @sanatanShishya1521
    @sanatanShishya1521 Před 10 měsíci

    Very nice and clean tutorial.
    Please make one tutorial for -> Authorization in NATS using TLS.
    I think it would be same implementation like this, but need some nice explanation and setup to run in local and prod.
    That's why please make video no this.
    Subscribed!

    • @robertbunch-dev
      @robertbunch-dev  Před 10 měsíci +1

      Thank you! I will take a look at a NATS tutorial.