TDD Workshop 101 - React & Azure Functions

This repo is a workshop for TDD testing for both Backend and Frontend. It is a simple serverless web app that contains a few serverless API endpoints built with Azure Serverless Functions, and the UI built using React.

Each branch in this repo represents a step in the workshop. The master branch is the starting point and each subsequent branch builds on the previous one.

Good luck!

Prerequisites

Node 20.x or later Git Your favorite code editor (I recommend Visual Studio Code) Vitest SWA CLI Vite

Getting Started

  1. Clone the repo
  2. Checkout the main branch
  3. npm install
  4. cd into the api directory and run npm install

Running the API

  1. cd into the api directory
  2. Run npm start

Running the UI

  1. Run npm start