From d5c43d0624dd21885fb7f27efda03f6fad17942b Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Thu, 14 Sep 2023 21:35:41 -0400 Subject: [PATCH] express: WIP Signed-off-by: Vincent Batts --- express/animals.json | 3 ++ express/index.html | 32 +++++++++--- express/package-lock.json | 102 +++++++++++++++++++++++++++++++++++++- express/package.json | 3 +- express/server.js | 52 ++++++++++++++++--- 5 files changed, 175 insertions(+), 17 deletions(-) create mode 100644 express/animals.json diff --git a/express/animals.json b/express/animals.json new file mode 100644 index 0000000..6ad174c --- /dev/null +++ b/express/animals.json @@ -0,0 +1,3 @@ +{ + "animals": ["Dog", "Cat", "Elephant", "Lion", "Giraffe"] +} diff --git a/express/index.html b/express/index.html index 2415fce..e39301c 100644 --- a/express/index.html +++ b/express/index.html @@ -7,10 +7,15 @@

Random Animal Generator

Click a button to get a random animal:

- - + +