Skip to content

MRJordanGracia/pairing-candidate-mrjordan

 
 

Repository files navigation

pairing-candidate

Prerequisites

  • Use Node.js 16x LTS version.

Contributing

  • Install the project dependencies.
npm i
  • Run the API on your local environment.
npm start
  • Run the tests.
npm test

Link of interests

Suggested improvements

  1. Map the results array of the response of GET /pokemons as follow:
  • Capitalizing the name of the pokémon: bulbasur -> Bulbasur.
  • Adapt the url of the pokemon details to our own server URL. Just for the exercise purpose, you can use http://localhost:3000 as URL host: https://pokeapi.co/api/v2/pokemon/1/ -> http://localhost:3000/pokemons/1.
  1. Make a unit test of the previous mapping function.
  2. Manage limit and offset query params on the GET /pokemons endpoint.
  3. Creates a new GET API endpoint (to your election 😉) which must integrates the - PokéAPI.

About

Fork for Maria Rosa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.7%
  • Shell 1.3%