/appointments-app-tutorial

[IN PROGRESS] This is a hair salon booking system and follows the tutorial from **Mastering React Test-Driven Development** by Daniel Irvine

Primary LanguageJavaScript

logo

Hair Salon Appointments app Tutorial by Daniel Irvine

[WORK IN PROGRESS]

This Appointments web application is a hair salon booking system and follows the tutorial available on the book Mastering React Test-Driven Development by Daniel Irvine.

My goal is to learn TDD in React and you can check my notes about this tutorial on the NOTES file.

Overview

  • This book includes the following topics:
    • Build test-driven applications using React 16.9+ and Jest
    • Build complete web applications using a variety of HTML input elements
    • Understand the different types of test double and when to apply them
    • Test-drive the Integration of libraries such as React Router, Redux, and Relay (GraphQL)
    • Learn when to be pragmatic and how to apply TDD shortcuts
    • Test-drive interaction with browser APIs including fetch and WebSockets
    • Use Cucumber.js and Puppeteer to build BDD-style acceptance tests for your applications
    • Build and test async Redux code using redux-saga and expect-redux

How to install and run it

  • Download the files, cd into root directory and run:
# Install dependencies
$ npm install

# Build the app
$ npm run build

# Run the app
$ npm start

# Run the tests
$ npm test

Reference

  • Mastering React Test-Driven Development by Daniel Irvine.