Mocking APIs The Right Way - No More Postman

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 10

  • @espresso-byte
    @espresso-byte 7 месяцев назад

    Great video, exactly what I was looking for!

  • @Wakkyguy
    @Wakkyguy Год назад +4

    Please make a video on "how to properly handle secret environment vairables in frontend?"

    • @lucadifazio2735
      @lucadifazio2735 10 месяцев назад

      You simply cannot have secret variables on the frontend. The frontend is public and accessible on the client side.
      If you absolutely need to have your frontend make an API call using a secret, you'd better make your own backend that makes the API call for you and gives back the response.

  • @DanhWasHere
    @DanhWasHere Год назад +1

    Discovered MSW when going through the React Testing Library docs site -haven't applied it to the codebase at work because we're using websockets to communicate with the server but looking in to it some more

  • @henryford4906
    @henryford4906 Год назад

    Great video as always

  • @tdekoekkoek
    @tdekoekkoek 8 месяцев назад

    Postman UI is horrendous. Very confusing. I started using Mockoon which I like far better, but I'd like to try this where everything is in code and I can use version control and easily push my mock to other developers. Thanks for this useful tutorial

  • @touristtam
    @touristtam 8 месяцев назад

    Please keep your browser updated when it does prompt you to do so. Your session will reload and all your tabs will be restored. Not doing that is akin browsing the web with IE5.

  • @kenjimiwa3739
    @kenjimiwa3739 9 месяцев назад

    What version of NextJS is this on? I read more recent versions make using MSW impossible :(

  • @innundo
    @innundo Год назад

    Nice