https://github.com/dxps/tmc
TM Community
https://github.com/dxps/tmc
dioxus dioxus-web rust
Last synced: 5 months ago
JSON representation
TM Community
- Host: GitHub
- URL: https://github.com/dxps/tmc
- Owner: dxps
- Created: 2024-02-15T13:57:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T20:15:59.000Z (almost 2 years ago)
- Last Synced: 2026-01-17T08:10:31.176Z (5 months ago)
- Topics: dioxus, dioxus-web, rust
- Language: Rust
- Homepage:
- Size: 638 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## TM Community
An open source solution for our community of TM practicants and the ecosystem around it.
This solution is a Rust based web app using Dioxus Fullstack and its Server Functions.
This makes the architecture a classic (three-tier) one:
```
╭──────────────────╮ ╭──────────────────╮ ╭──────────────────╮
│ Web UI │ │ Back-end │ │ Database │
│ (tmc-fsrs) ├──────▶ (tmc-fsrs) ├────────▶ (postgresql) │
╰──────────────────╯ ╰──────────────────╯ ╰──────────────────╯
```
with the following benefits:
- SSR (server side routing)
- Being able to navigate to a specific route (as in "deep links").
- CSR (client side routing)
- The view/page is rendered by the UI only, no need for a round trip to the back-end.
- URL reflects the path while navigating through pages
- Using server functions that talk with the database.
- A nice feature provided by Dioxus Fullstack that allowed faster development,
as there is no need to expose an API operation and then call it from UI.
The implementation is in [tmc-fsrs](./tmc-fsrs/) directory.
Old stuff (some previous iterations) are kept in [old](./old/) directory.