Giter Club home page Giter Club logo

t5-challenge's Introduction

T5 > React Challenge <

Iniciar proyecto

npm i
npm start

Comenzar por buscar una solución a estos problemas.

  • Warning del linter.
  • Recuperar el funcionamiento del selector de resultados.

Hacer un poco más de código.

  1. Mostrar mensaje de "loading". Utilizar custom hook.
  2. Crear página que liste personajes de la API Marvel Character list Respetando arquitectura y diseño propuesto por el proyecto base.
  3. Mostrar detalle de personaje seleccionado al hacer click en el listado (tomar información del listado obtenido previamente)
  4. Implementar manejo de errores de llamadas a la API Marvel utilizando la clase existente BaseResponse. Ver debajo los errores a tratar.

Ejemplo

    async get(limit: number): Promise<BaseResponse<Comic[]>> 

Datos útiles para la implementación

API Config
  • Marvel API
    • Crear cuenta / ingresar https://developer.marvel.com/
    • Endpoints params:
      • hash: md5(ts+privateKey+publicKey)
      • apikey: publicKey
      • ts: (mismo que se uso en el hash)
    • Posibles errores de llamada a la API
      • MissingParameter: falta parametro "hash"
      • InvalidCredentials: enviar un hash incorrecto

t5-challenge's People

Watchers

Eloy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.