realworld README

The project's README from github.com/realworld-apps/realworld. As one markdown file: README.md.



RealWorld Example Applications

Frontend and Backend Frameworks


See how the exact same Medium.com clone is built using different frontends and backends

You can combine any frontend with any backend, because they all adhere to the same API spec

While most "todo" demos provide an excellent cursory glance at a framework's capabilities, they typically don't convey the knowledge required to actually build real applications with it — nor the real-world constraints a minimal demo never has to face.

RealWorld solves this problem by providing the same demo app for each framework, at a sweet spot between simplicity and breadth.

Join us on GitHub Discussions! 🎉

Implementations

Over 100 implementations have been created using various languages, libraries, and frameworks.

Explore them on CodebaseShow.

Spec-compliant backends

These backends pass the full API spec test suite:

Create a new implementation

Create a new implementation >>>

Or you can view upcoming implementations (WIPs).

Learn more

Logo Attribution

See LICENSES_LOGOS.md for framework logo licensing and attribution details.

Active Maintainers

realworld (realworld-apps/realworld)

Searching Database…

84.3K ·GitHub
这是什么?RealWorld 是一个项目,它用不同的前端和后端框架(如 React、Angular、Node、Django 以及 100 多种其他框架)反复构建完全相同的 Medium.com 风格博客应用,让开发者能比较这些真实框架如何处理一个贴近实际的应用,而不是只看一个简单的待办事项示例。
这是一个应用还是多个实现的合集?它是一个包含 100 多个独立前端和后端实现的目录,而不是一个应用。任何前端都可以与任何后端搭配使用,因为它们都遵循同一份共享的 API 规范。
我该如何试用其中一个实现?在 CodebaseShow 上浏览各个实现,选择任意一对前端和后端在本地运行;也可以使用公开的在线演示 demo.realworld.show,它连接到一个公开的后端 API,无需任何 API 密钥。
列出的所有实现都通过相同的测试吗?只有两个后端,即 Nitro+Prisma+Zod(TypeScript)和 Django Ninja(Python),经确认通过了完整的 API 规范测试套件;社区提交的实现并不都能保证完全符合规范。
使用公开的在线演示时,用我自己的账户数据安全吗?安全。在线演示使用的是演示账户,而且其设置确保真实账户之间无法看到彼此的数据。
什么是 CodebaseShow?CodebaseShow 是 RealWorld 的配套网站,收录了所有 RealWorld 实现,让你可以并排浏览和比较各个前端和后端。
我如何添加自己的实现?你需要基于共享的 API 规范和共享的 CSS 主题进行开发,然后按照入门指南操作,即可将你的实现列为官方实现。
所有前端实现看起来都一样吗?是的。系统提供了共享的 CSS 主题,因此无论使用哪种框架,每个前端实现都能拥有相同的界面和用户体验。
一共有多少个实现?已经构建了 100 多个实现,涵盖了各种各样的编程语言、库和框架。
Size
34.8 MB
Stars
84.3K
Updated
CommitAug 26
Age
10y
Commits · 90 Days