You need to have installed Node and NPM.
Clone this repository
git clone https://github.com/btholt/cat-or-penguin.git
Install dependencies
npm install
Start NodeJS server at http://localhost:3000
npm start
For Nodemon usage
nodemon ./bin/www
The animal used will be determined by what the ANIMAL
environment variable is. By default, the animal will be a cat. If ANIMAL
is set to penguin
, then a penguin flipper will be used instead.
Thank you to the person I forked this from: gtsopour@gmail.com.
Image credits: Penguin flipper