This is a limited solution! I would like to add more tests and also to filter out all the html tags from the words list. With work and family I did not have time. This works with
Though I noticed that if you remove the https the fetch doesn't work. Would need a change to axios settings. You can build your container with
docker build . -t counter-app
and run it with
docker run -p 3000:3000 counter-app
Then it is
http://localhost:3000/