Separating the API calls from the jsx files

According to the current implementation we are using axios call inside our jsx files. This leads to duplicating code snippets and it’s better to keep them seperated. Some of the funcions are already moved.

Since there are lot of API calls, I will be dividing this task to small three issues based on the APIs.

  1. Mentee APIs
  2. Mentor APIs
  3. Program APIs

I will update this threads with the github issues.

Here are the issues:

I started working on this yesterday. I found it very time consuming there are like 47+ API calls. The only advantage of doing this will be removing duplicated calls. Is this worth spending much time on this? This should have been something that we should do from the beginning. The project has come a long way it’s hard to do that kind of task right now. WDYT? @EngTeam

1 Like

I see, that’s a lot right?
Let’s keep it this way for now, let’s not this down to have a chat next Saturday

1 Like

Just like we discussed I break down the task into small pieces and updated the above three issues for now.

2 Likes