https://github.com/betterstack-community/react-todo-mvc
https://github.com/betterstack-community/react-todo-mvc
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/betterstack-community/react-todo-mvc
- Owner: betterstack-community
- License: apache-2.0
- Created: 2024-01-26T08:39:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T17:24:11.000Z (over 2 years ago)
- Last Synced: 2025-03-03T11:17:29.208Z (about 1 year ago)
- Language: JavaScript
- Size: 390 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Playwright End-to-End Testing Demo
The repo holds the React variant of the popular [TodoMVC](https://todomvc.com/)
application. It's used here to demonstrate end-to-end testing with
[Playwright](https://playwright.dev).
The original code can be found
[here](https://github.com/tastejs/todomvc/tree/master/examples/react).
**Tutorial**:
[Playwright End-to-End testing: A Step-by-Step Guide](https://betterstack.com/community/guides/testing/playwright-end-to-end-testing/)

## 🟢 Prerequisites
- [A recent version of Node.js](https://nodejs.org/en/download), preferably the
latest LTS.
## 📦 Getting started
- Clone this repository to your local machine:
```bash
git clone https://github.com/betterstack-community/react-todo-mvc
```
- Change into the project directory, and install the dependencies:
```bash
cd react-todo-mvc
```
```bash
npm install
```
- Start the development server on port 8080:
```bash
npm run dev
```
- Open http://127.0.0.1:8080 in your browser to view and interact with the
application.
- [Follow the tutorial](<(https://betterstack.com/community/guides/testing/playwright-end-to-end-testing)>)
to learn how to write and execute end-to-end tests for the application with
Playwright.
## âš– License
The code used in this project and in the linked tutorial are licensed under the
[Apache License, Version 2.0](LICENSE)