Recent challenge I overcame in Backend and why I joined the HNG Internship

firminfinva - Jun 29 - - Dev Community

I’m Firmin Nganduli. I am a backend developer. I have been coding for 4 years and have faced multiple challenges over the years. In this article, I am going to talk about the recent one and how I overcame it.

The Challenge: Connecting Django API with React.js

I was building an app with Django as I was used to, but I realized I needed to have a mobile app version, so I had to learn React.js quickly. The hardest part was passing secure data from Django to React.js, especially for the authentication part.
Here are some steps on how I solved my problem:

Step-by-Step Solution

Step 1: Identify the type of data the platform shares

I had to learn what type of data a platform such as Django, written in Python, can send to a platform written in JavaScript like React. This is how I learned about JSON and how useful it is for APIs and data sharing across such platforms.

Step 2: Learn how to share the JSON data across the platform

Although I had found the type of data I could share between the platforms, I still had to find a way to send the data across. This is how I learned about REST API in Django. The REST API in Django allows sending JSON data to other platforms, but the other platforms also have to be able to read the JSON data. For React, I came across Fetch and Axios to make data requests and handle the JSON data properly. It was hard at first, mentally hard.

Step 3: Secure data

Sending data was done, and when it came to authentication, the data needed to be secured. To solve this new challenge, I came across JWT, which helped me encrypt the data, send the token, and decrypt it on arrival. It is an interesting process but fun to learn.

Embarking on the HNG Internship Journey
I'm excited to bring this problem-solving mindset to the HNG Internship. This internship represents a significant step in my career, offering the opportunity to work with industry experts, tackle real-world challenges, and further hone my skills.

Why the HNG Internship?

As I mentioned in this article, I have been coding for some years now and I am looking forward to putting my skills to the test and seeing how I will perform in a professional and rigorous environment like The HNG Internship.

In conclusion, solving complex backend problems is a journey of continuous learning and adaptation. I am thrilled to take this journey to the next level.

. . . . . . .