The backend was made with NestJS with a MySQL database running inside a docker container.
# Create a network called backend
$ docker create network backend
# This will create a mysql data directory inside the database directory
$ docker-compose up -d
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# I created a command to seed the database using the Dog API
$ yarn command images-seed
For testing, I implemented a simple e2e test
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e