DEV Community

Adako Success
Adako Success

Posted on

How I solved a Backend Problem + My HNG Internship Journey.

At times, backend developers need to get under the hood and solve some seriously tough challenges which is where we can test our mettle against a difficult problem and drive innovation. I experienced this pain-neck problem mostly recently to consuming third-party APIs. Not only was this a valuable learning experience but prepared me for the HNG Internship which I felt would go on to shape my journey in tech further.

THE ISSUE: CONSUMING THIRD-PARTY API

The problem occurred when I was trying to integrate a third-party payment gateway with an e-commerce platform. One major issue was that it was my first time consuming a third-party API and I couldn’t get it to perform the task it was meant to perform.
STEP-BY-STEP SOLUTION

  • Initially, I focused on understanding API structure and behavior completely. The rest of my time, I read the documentation given to me.

  • Tested all the endpoints I found in the documentation and took note of every response and request made and received respectively.

  • Wrote all my controllers that I will be using and updated my routes to use this controller

  • Tested my routes on Postman but they failed

  • Checked through my code to know where the error can be coming from.

  • Noticed I inputted a wrong base URL and my keys were named wrongly. I also reached out to a friend who assisted me along the line and it worked.

The next step in my journey

Solving the API integration problem was an achievement, but I know it’s just the beginning. The field of backend development is vast, which is why I am thrilled about the HNG Internship. This program offers a unique opportunity to learn from industry experts, work on real-world projects, and connect with a community of like-minded individuals.
The HNG Internship is renowned for its training and hands-on experience. It's a platform where developers can hone their skills and showcase their talent. The internship will provide me with the problem and learning opportunities I will love to have.

If you are interested in learning more about this program, I recommend you check out the HNG internship website and exploring how they can help you hire talented developers or check their premium package

Top comments (0)