This is the backend of Pokémon's Challenge which has been made in a different repository.
The backend has built an API and a database which is saving the pokemons data inside it.
I've choosen, for development purposes, to use SQLite as database, because it'd be easier to do tests during the development, but due to the fact that SQLite is a purely didactic database, it can't store too much data; therefore into its database there are only some of the pokémons listed in the existing API. But in case of there would be interest in store all pokémons from the API, it's just change the database in knexfile.js archive (together with conexion configurations for this new database, as Docker's IP adress and so on, for example) and into api.service.js archive, change getAllPokemons route's offset for 954, thus it'll get all pokémons and they'll be stored in database through seed.
This challenge has been developed using the following technologies:
# Clone the repósitory
$ git clone https://github.com/jose-renato-m/test-asin-backend.git
# Enter into the directory
$ cd test-asin-backend
# Install dependencies
$ yarn
# Run the server
$ yarn dev: server
This challenge has been made with 💙 by José Renato Montagnana 👋🏻 Get in touch!