A program that accepts user input in the form of a word and returns a Scrabble score relative to one of three scoring algorithms.
- The first algorithm, "Scrabble" awards points relative to the letter's rarity.
- The second algorithm, "Simple Score" awards one point for every letter.
- The third algorithm, "Bonus Vowels" awards three points for vowels, one point for consonants.
Each submission must be recognized as a valid English word to be awarded points. Submissions are case insensitive.
This program was a homework assignment at LaunchCode's Lc101 (2019)
- TypeScript
- JavaScript
- React
- Node
- Express
- HTML
- CSS
- axios
- tanstack react query
- check-word
- react-toastify
- vite
- Docker
The steps below assume you have git
, Node
, and/or Docker
installed on your machine. It is also assumed that you are executing commands from the root of this repository on your local machine.
Note: Confirm that Docker is running prior to proceeding and that port 8080
is not being used by another program.
- Clone this repository.
- cd into
docker
directory
cd docker/
- Build docker image and start container
docker compose up --build
- Visit http://localhost:8080
- Clone this repository.
- Install necessary dependencies via
npm
forback-end
andfront-end
cd back-end/ && npm i && cd ../front-end && npm i && cd ..
- Build server and UI (must be in that order)
cd back-end/ && npm run build && cd ../front-end && npm run build && cd ..
- Run server
cd back-end/ && node dist/server.js
- Visit webpage @ http://localhost:8080/
Note: requires Node
- Clone this repository.
cd
intocli/
directory
cd cli/
- Start command line program
npm run start