This jotto game demonstrates my execution of test-driven development (TDD) using Jest and Enzyme on React and Redux.
Jotto is a word game where the player tries to guess the 5-letter secret word 🔒 After every attempt, the app will tell the player the amount of letters in the guessed word matching the secret word. For example, if the secret word is "party" and the guessed word is "train", the app will tell you that 3 letters are matching ("a", "r", "t").
Have a go and good luck!
- Jest
- Enzyme
- Axios
- Moxios
- check-prop-types
- React
- Redux
- Redux Thunk
- JSDoc
- Bootstrap
👀👇 Click links to view some samples in this project 👇👀
The main goals are to implement unit and/or integration testing for:
For this app to work, we need to make a get request to a Random Word Server (credits to Bonnie Schulkin).
In order to deploy the server to heroku, I cloned a server repo on my own. This is where the random words are coming from.
The app is modelled after Bonnie Schulkin's course on Udemy. She is an absolute joy to listen to because of her boomer jokes on millennial trends! 💀