Jotto is a guessing word game and web application that will allow you to make a certain number of guesses to figure out the hidden word. I created this application using React and Redux, and my goal was practice TDD (test driven development) using Jest and Enzyme. I wanted to create and plan an application by writing tests for the functionality first before programming. It contains tests for changes to displays, tests for Redux Thunk, tests for axios calls to an API server, tests for state props, redux props, action creator calls, etc.
- Clone or fork the github repository.
- Run
npm install - Note: This repo will need a random-word-server in order to run on
Port 3030. Please do the following steps:- Clone or fork the github repository found at [https://github.com/flyrightsister/udemy-react-testing-projects] somewhere else on your computer or in the same directory.
cdinto therandom-word-serverdirectory.- run
npm install
- Run
npm startin the Jotto app. The server will be found at [http://localhost:3000] - Run
npm startin the random-word-server. The server will be found at [http://localhost:3030].