Pokedex
    Preparing search index...

    Controller for handling Pokemon-related HTTP requests

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Handles requests to get a single Pokemon by name

      Parameters

      • req: Request

        The Express request object, expected to contain the Pokemon name in params

      • res: Response

        The Express response object

      Returns Promise<void>

    • Handles requests to get a single Pokemon with translated description

      Parameters

      • req: Request

        The Express request object, expected to contain the Pokemon name in params

      • res: Response

        The Express response object

      Returns Promise<void>