cypress-realworld-app
Cypress Real-World App is a full-stack Express/React payment application designed to teach Cypress testing patterns and workflows through practical, production-like examples. It includes API, UI, component, and unit tests with zero external database dependencies, making it easy to set up and experiment with.
Key facts
Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.
| Field | Value |
|---|---|
| Repository | cypress-io/cypress-realworld-app |
| Owner | cypress-io |
| Primary language | TypeScript |
| License | MIT — OSI-approved |
| Stars | 5.9k |
| Forks | 2.6k |
| Open issues | 42 |
| Latest release | v1.0.18 (2021-08-06) |
| Last updated | 2026-07-06 |
| Source | https://github.com/cypress-io/cypress-realworld-app |
What cypress-realworld-app is
TypeScript-based full-stack application (React frontend, Express backend) with lowdb JSON persistence, XState state management, and Material-UI components. Bundled with example data and comprehensive test suites covering e2e, API, component, and unit testing patterns, plus CI/CD integration via Cypress Cloud.
Get the cypress-realworld-app source
Clone the repository and explore it locally.
git clone https://github.com/cypress-io/cypress-realworld-app.gitcd cypress-realworld-app# follow the project's README for install & configurationNeed it deployed, integrated, or customized instead? DEV.co ships production installs.
Best use cases
Implementation considerations
- Requires Node.js (check .node-version file for exact version) and Yarn Classic v1; Yarn Modern (v2+) is not compatible.
- Must run on ports 3000 (frontend) and 3001 (backend) by default; port changes require updates to cypress.config.ts, .env, and local re-testing.
- Database seeding runs on each app startup (yarn dev); custom data requires modifying data/database-seed.json and regenerating with yarn db:seed.
- All example users share password 's3cret' by default; change before any non-local use and avoid exposing example data in shared environments.
- Component tests live alongside source (src/), unit tests in src/__tests__; adopt this structure for consistency if using as a template.
When to avoid it — and what to weigh
- Production Payment System Needed — Explicitly stated as educational/demonstration-only. Not a full-fledged production system; lacks security hardening, audit trails, PCI compliance, and payment processor integration required for real payments.
- Scaling Beyond Local JSON Database — Uses lowdb (file-based JSON storage) which does not scale to concurrent multi-user production workloads. No support for relational databases, transactions, or distributed data handling.
- Long-term Maintenance Expectations — Latest release is v1.0.18 (August 2021), over 4 years old. Recent push (July 2026) suggests maintenance, but release cadence indicates this is a stable reference app, not actively developed for new features.
- Advanced Authentication/Authorization — Supports Auth0, Okta, Cognito, and Google logins, but setup varies per provider and documentation/guides are external. Built-in auth is basic local authentication; enterprise IAM integration requires custom work.
License & commercial use
MIT License (permissive, OSI-approved). Permits unrestricted use, modification, and distribution for any purpose (commercial or non-commercial) with only the requirement to include original license and copyright notice. No warranty provided.
MIT License permits commercial use and modification. However, this project is explicitly educational/demonstration-only and not a production system. Commercial use of the app itself (e.g., as a real payment platform) is not recommended and would require substantial security/compliance hardening outside the scope of the repository. Commercial use of the testing *patterns* and *codebase as a reference* is permissible under MIT.
DEV.co evaluation signals
Editorial assessment — not user reviews. Directional, with an explicit confidence level.
| Signal | Assessment |
|---|---|
| Maintenance | Moderate |
| Documentation | Adequate |
| License clarity | Clear |
| Deployment complexity | Low |
| DEV.co fit | Good |
| Assessment confidence | High |
Project is educational and not hardened for production. Default hardcoded credentials (all users: password 's3cret') are intentional for learning but dangerous if exposed. No encryption, audit logging, CSRF protection, rate limiting, or PCI-DSS compliance mentioned. Local JSON database has no access control. Not suitable for sensitive data or real payments without substantial security additions.
Alternatives to consider
Sauce Labs Sample Apps / WebdriverIO demo repos
Similar educational test automation demos; broader test framework support (not Cypress-specific). May suit teams not committed to Cypress ecosystem.
TodoMVC / TODOMVC.com reference implementations
Simpler, framework-agnostic testing reference apps. Good if you need minimal setup but lack real-world features (auth, API, payments).
Custom in-house staging/demo app
If testing patterns from this repo are extractable, building your own app avoids adopting external maintenance burden and allows feature alignment with actual product.
Build on cypress-realworld-app with DEV.co software developers
Clone the Cypress Real-World App and start experimenting with production-like test patterns. Perfect for onboarding teams or building your own testing reference. MIT licensed and ready to use.
Talk to DEV.coRelated open-source tools
Surfaced by semantic similarity across the DEV.co open-source index.
Related on DEV.co
Explore the category and the services that help you build with it.
cypress-realworld-app FAQ
Can I use this as a production payment app?
What's the current maintenance status?
Can I run this on custom ports?
What database does it use?
Software development & web development with DEV.co
DEV.co helps companies turn open-source tools like cypress-realworld-app into production software. Our software development services cover the full lifecycle — architecture, web development, integration, and maintenance — delivered by software developers and web developers who ship. Engage our software development agency to implement or customize it for your open-source testing stack.
Ready to Master Cypress Testing?
Clone the Cypress Real-World App and start experimenting with production-like test patterns. Perfect for onboarding teams or building your own testing reference. MIT licensed and ready to use.