btholt / cat-or-penguin

Simple Node.js app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cat-or-penguin

Run locally on your machine

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

Environment

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.

Credits

Thank you to the person I forked this from: gtsopour@gmail.com.

Image credits: Penguin flipper

About

Simple Node.js app

License:MIT License


Languages

Language:CSS 54.0%Language:JavaScript 29.9%Language:HTML 15.2%Language:Dockerfile 0.8%