The example code for the small theme context example can be found in the Chapter05/chapter5_1 folder.
Just run npm install in order to install all dependencies, and npm start to start the application; then visit http://localhost:3000 in your browser (if it did not open automatically).