This is a web application, where you can enter a name of a dog breed and display dog images of that certain breed, developed in Node.js using the Koa web framework for backend, HTML and Bootstrap for frontend, and Dog API service for data. Mocha with Chai are used for unit testing.
You will need to install Node.js.
For best results, use Node.js 16 or higher.
You can check your current version of Node.js with
$ node --version
v16.13.2
Then, inside this project, run
npm install
npm start
If the server starts successfully, you will see
Server running on http://localhost:3011
in the terminal.
To run the test suite
npm test
- Koa: https://koajs.com/
- @koa/router: https://github.com/koajs/router#koarouter
- koa-body: https://github.com/dlau/koa-body#usage-with-koa-router
- Dogs API: https://dog.ceo/dog-api/breeds-list
- Bootstrap: https://getbootstrap.com
- Mocha: https://mochajs.org
- Chai: https://www.chaijs.com