目录

RealWorld Example App

Dioxus and Axum codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

Demo    RealWorld

This codebase was created to demonstrate a fully fledged fullstack application built with Dioxus (as front-end) and Axum (as back-end), including routing, authentication, CRUD operations, authentication, and more.

We’ve gone to great lengths to adhere to the styleguides & best practices promoted by these frameworks. For more information on how to this works with other frontends/backends, head over to the RealWorld repo.


How it works

This project uses the classic three-tier architecture:

  ╭───────────────╮       ╭────────────────╮       ╭────────────────╮
  │   Front-end   │       │    Back-end    │       │     Database   │
  │    (Dioxus)   ├──────►│     (Axum)     ├──────►│   (PostgreSQL) │
  ╰───────────────╯       ╰────────────────╯       ╰────────────────╯

Getting started

First, have the database available as described in backend’s readme by starting it and run the database migration (that populates it with the required objects).

Next, for local development and usage, just run ./run_dev.sh script that starts both the front-end and the back-end.

关于
5.4 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号