Tasks Done, But Faced API MongoDB Integration Errors(Day-24)

 

Completed Tasks, But Hit a Roadblock – Integration Challenges

Today was productive in terms of frontend updates and feature wrap-ups, but while integrating some of the backend API data with MongoDB, I encountered a few errors. These issues slowed down the final rendering of charts and detailed student stats.

Still, I managed to complete most of the UI setup and API function calls — the issue lies mainly in the backend response structure and DB connection errors.


 What I Worked On:

  • ✅ Final touches on UI components

  • ✅ Chart sections structured and placeholders added

  • ✅ Connected API endpoints using Axios

  • ✅ Integrated student detail route and contest history view

  • ✅ Attempted MongoDB data fetch for submission + problem stats


 Key Learnings:

  • Double-checking backend route logic is essential during API consumption

  • Clean state handling in React helps detect where data is truly breaking

  • Error logs and HTTP status codes guide debugging in integration problems


 Gracias:

Grateful for the debugging experience — every bug adds a layer of understanding to how data flows between layers. Tomorrow I’ll be focusing on fixing the integration issues and completing the graphs with real MongoDB data.

~ Sanya

Comments

Popular posts from this blog

JavaScript Deep Dive + React Review (Day-5)

Revising GitHub CLI commands (Day1)

Starting the GitHub User Search App (Day - 2)