DEV Community

Cover image for ๐Ÿš€ Building Dynamic Profile API (Stage 0 Backend Challenge)
OGHENEKARO CLETUS ANAKPOHA
OGHENEKARO CLETUS ANAKPOHA

Posted on

๐Ÿš€ Building Dynamic Profile API (Stage 0 Backend Challenge)


Hey everyone ๐Ÿ‘‹
I just completed Stage 0 of the Backend Track, and Iโ€™m super excited to share what I built, what I learned, and how it helped me grow as a developer!

๐Ÿงฉ The Task

The challenge was to create a dynamic RESTful API that returns:

My profile details (name, email, and backend stack)

A random cat fact fetched in real time from the Cat Facts API

A current UTC timestamp in ISO 8601 format

Hereโ€™s the live endpoint:
๐Ÿ‘‰ https://stage0-profile-api-production-053c.up.railway.app/me

๐Ÿ› ๏ธ Tools & Technologies

Node.js + Express โ€” for building the REST API

Axios โ€” for consuming the external Cat Facts API

Railway โ€” for deployment and hosting

GitHub โ€” for version control and documentation

๐Ÿง  What I Learned

This simple project taught me a lot about:

How to create clean, structured API endpoints

Making dynamic API calls using Axios

Handling errors gracefully when fetching from third-party APIs

Deploying Node.js applications to a production server

The importance of good JSON formatting and timestamps

I also got to understand how environment configuration, deployment logs, and API testing come together in real-world backend development.

๐Ÿพ The Final Output

Hereโ€™s a sample response from my /me endpoint:

{
  "status": "success",
  "user": {
    "email": "karons@example.com",
    "name": "Karons [Your Last Name]",
    "stack": "Node.js / Express"
  },
  "timestamp": "2025-10-20T09:00:00.000Z",
  "fact": "Cats have five toes on their front paws but only four on the back ones."
}
Enter fullscreen mode Exit fullscreen mode

๐Ÿ’ก Reflection

This task might look simple, but it built a strong foundation โ€” understanding APIs, data flow, deployment, and error handling.
Each small step (from initializing the project, setting up Express, to debugging on Railway) boosted my confidence and speed in backend development.

Next stop โ†’ Stage 1, where Iโ€™ll be building something more complex! โš™๏ธ

If youโ€™re just starting out, I recommend trying something similar. Itโ€™s small but incredibly powerful for mastering the basics of backend engineering.

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.