Happily parses your words for total count and occurrence.
To quickly test and run the project locally, copy+paste this full command:
git clone [email protected]:jtrein/shut-up-and-count.git
cd ./shut-up-and-count/server
npm install && npm test
cd ../client
npm install && npm test
cd ../server
npm start
echo "Servers started."
This will start the server first on PORT 4000 and then the client on PORT 3000.
Your browser should load a tab @ http://localhost:3000. The app is now up and ready.
If you wish to run tests separately:
# inside project root
# server
cd server && npm install && npm test
# client
cd client && npm install && npm test