Building My First Backend API: A Dynamic Profile Endpoint HNG 13

I just completed the Backend Wizards Stage 0 task by building a RESTful API that serves profile data with dynamic cat facts! 🚀

What I Built

· GET /api/me endpoint returning JSON profile data
· Real-time cat facts from CatFact.Ninja API
· Rate limitin…


This content originally appeared on DEV Community and was authored by Ikechukwu F. Godwin

I just completed the Backend Wizards Stage 0 task by building a RESTful API that serves profile data with dynamic cat facts! 🚀

What I Built

· GET /api/me endpoint returning JSON profile data
· Real-time cat facts from CatFact.Ninja API
· Rate limiting (10 requests/30 seconds)
· Dynamic UTC timestamps
· Error handling with fallback facts

Tech Stack

· C# / ASP.NET Core Web API
· Microsoft Rate Limiting
· HttpClient for external API calls
· Railway for deployment

Key Learnings

· ASP.NET Core controller design and routing
· External API integration with proper error handling
· Implementing rate limiting policies
· C# async/await patterns for HTTP requests
· Structured JSON responses with anonymous types

Example Response:

{
  "status": "success",
  "user": {
    "email": "ikechukwugodwin22@gmail.com",
    "name": "Ikechukwu F. Godwin",
    "stack": "C#/ASP.NET Web API"
  },
  "timeStamp": "2025-10-15T14:30:45.123Z",
  "fact": "Cats have whiskers on their front legs too!"
}

This project solidified my backend fundamentals with ASP.NET Core - from API design to production deployment! 💻


This content originally appeared on DEV Community and was authored by Ikechukwu F. Godwin


Print Share Comment Cite Upload Translate Updates
APA

Ikechukwu F. Godwin | Sciencx (2025-10-19T10:41:15+00:00) Building My First Backend API: A Dynamic Profile Endpoint HNG 13. Retrieved from https://www.scien.cx/2025/10/19/building-my-first-backend-api-a-dynamic-profile-endpoint-hng-13/

MLA
" » Building My First Backend API: A Dynamic Profile Endpoint HNG 13." Ikechukwu F. Godwin | Sciencx - Sunday October 19, 2025, https://www.scien.cx/2025/10/19/building-my-first-backend-api-a-dynamic-profile-endpoint-hng-13/
HARVARD
Ikechukwu F. Godwin | Sciencx Sunday October 19, 2025 » Building My First Backend API: A Dynamic Profile Endpoint HNG 13., viewed ,<https://www.scien.cx/2025/10/19/building-my-first-backend-api-a-dynamic-profile-endpoint-hng-13/>
VANCOUVER
Ikechukwu F. Godwin | Sciencx - » Building My First Backend API: A Dynamic Profile Endpoint HNG 13. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/10/19/building-my-first-backend-api-a-dynamic-profile-endpoint-hng-13/
CHICAGO
" » Building My First Backend API: A Dynamic Profile Endpoint HNG 13." Ikechukwu F. Godwin | Sciencx - Accessed . https://www.scien.cx/2025/10/19/building-my-first-backend-api-a-dynamic-profile-endpoint-hng-13/
IEEE
" » Building My First Backend API: A Dynamic Profile Endpoint HNG 13." Ikechukwu F. Godwin | Sciencx [Online]. Available: https://www.scien.cx/2025/10/19/building-my-first-backend-api-a-dynamic-profile-endpoint-hng-13/. [Accessed: ]
rf:citation
» Building My First Backend API: A Dynamic Profile Endpoint HNG 13 | Ikechukwu F. Godwin | Sciencx | https://www.scien.cx/2025/10/19/building-my-first-backend-api-a-dynamic-profile-endpoint-hng-13/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.