This site runs best with JavaScript enabled.

Welcome to Daniel Afonso blog. Here you'll find his thoughts and learning notes.

How to test API calls

Hey everyone, recently I've seen a couple of questions regarding testing in the JavaScript ecosystem. Some of the questions are: How to test API calls? How to test axios? How test API calls… Read Article →

Adding authentication to Next.js with Auth0

Setting authentication in Next.js apps can be stressing and confusing. To make your life easier, Auth0 created an SDK that makes this process simpler and fast. In this blog post, I'll show… Read Article →

Portfolio Project Club: Setting up a NextJS app

Hey everyone, this is the first blog post about the technical implementation regarding the ShareYourContent app for the Portfolio Project Club. This app will include the following things… Read Article →

Git Aliases

Are you constantly repeating the same Git command or sequence of commands? Do you wish that it would be faster and easier to type those commands? With Git Aliases you can do it. In this… Read Article →

Configuring Mock Service Worker (MSW)

Are you building an app where you don't have your backend implementation yet? Are you tired of maintaining a dedicated mock server? Do you find that mocking fetch or axios causes more… Read Article →

View all articles
Daniel Afonso © 2021