DEV Community

Cover image for Axiosfit, a cool way to organize your HTTP client requests
David (ダビッド ) for YggdrasilTS

Posted on • Edited on

3 2

Axiosfit, a cool way to organize your HTTP client requests

Original Post

Nowadays, all the developers have had to build applications that need communication with other applications or services even more important if you are in a microservices architecture. Depending on how much communications you have had to use, the big amount of endpoints that would be needed to handle could turn into a big headache.

The main purpose of Axiosfit is giving you a pill to minimize this headache 😜 and helping you to manage all of these endpoints in an organized way.

What is Axiosfit?

Axiosfit is the first component of YggdrasilTS tool set and, like its README sais, it is a project inspired by Retrofit to create declarative HTTP clients using axios, one of the most popular libraries used in Javascript.

It has been thought to be used inside TypeScript projects, both worlds, frontend and backend, and it helps you to have your HTTP clients organized.

Since it is developed in TypeScript, all of its main features are a set of Decorators that make easy to configure your HTTP clients to interact with different APIs.

Playwright CLI Flags Tutorial

5 Playwright CLI Flags That Will Transform Your Testing Workflow

  • 0:56 --last-failed: Zero in on just the tests that failed in your previous run
  • 2:34 --only-changed: Test only the spec files you've modified in git
  • 4:27 --repeat-each: Run tests multiple times to catch flaky behavior before it reaches production
  • 5:15 --forbid-only: Prevent accidental test.only commits from breaking your CI pipeline
  • 5:51 --ui --headed --workers 1: Debug visually with browser windows and sequential test execution

Learn how these powerful command-line options can save you time, strengthen your test suite, and streamline your Playwright testing experience. Click on any timestamp above to jump directly to that section in the tutorial!

Watch Full Video 📹️

Top comments (0)

👋 Kindness is contagious

If this article connected with you, consider tapping ❤️ or leaving a brief comment to share your thoughts!

Okay