Codstak
    • Home
    • DSA
    • JavaScript
    • TypeScript
    • Node.js
    • React
    • More↓
      14-Day PrepDiscordNewsletterLeaderboard
    Free Node.js API practice

    Build dependable API instincts.

    Practice the Node.js decisions frontend engineers meet in full-stack interviews: HTTP contracts, validation, permissions, dependency failures, webhooks, and idempotency.

    10

    Free challenges

    01API fundamentals

    HTTP Response Contract

    Return a predictable JSON response shape for a small API handler.

    • http
    • status codes
    • api contracts
    25 minStart
    02API fundamentals

    Pagination Query Parser

    Turn unknown query values into safe pagination settings.

    • pagination
    • query params
    • validation
    30 minStart
    03API fundamentals

    Signup Input Validator

    Validate a small request body at the API boundary.

    • validation
    • request body
    • errors
    30 minStart
    04API fundamentals

    Safe API Error

    Classify internal failures without leaking implementation details.

    • errors
    • http
    • security
    30 minStart
    05API fundamentals

    Project Access Check

    Distinguish authentication from permission to manage a project.

    • authentication
    • authorization
    • permissions
    35 minStart
    06API fundamentals

    Release Filter Handler

    Filter API records with normalized query input and stable output order.

    • filtering
    • query params
    • arrays
    35 minStart
    07API fundamentals

    Dependency Health Fallback

    Return a usable status when an async dependency is unavailable.

    • async
    • dependencies
    • fallback
    40 minStart
    08API fundamentals

    Webhook Event Parser

    Validate incoming event data before a handler acts on it.

    • webhooks
    • validation
    • events
    40 minStart
    09API fundamentals

    Idempotency Delivery Log

    Process each incoming delivery key at most once.

    • idempotency
    • webhooks
    • sets
    45 minStart
    10API fundamentals

    Article Route Response

    Build route outcomes for a found, missing, or malformed resource id.

    • route handlers
    • http
    • validation
    40 minStart