This code map introduces the folder hierarchy of AppFlowy. appflowy_tauri
the tauri working directory.
Contains all the React source code
-
components
Contains all the
React
components.- grid
- board
- editor
-
home
Implements the application skeleton that including the sider, header, and footer.
- backend:
Contains all the backend bridge files that including the auto-generated events,protobuf, and etc.
Contains all the Rust source code
-
Cargo.toml
Cargo's manifest file. You can declare Rust crates your app depends on, metadata about your app, and much more. For the full reference see Cargo's Manifest Format.
-
tauri.conf.json
This file lets you configure and customize aspects of your Tauri application from the name of your app to the list of allowed APIs. See Tauri's API Configuration for the full list of supported options and in-depth explanations for each.
-
src/main.rs
This is the entry point to your Rust program and the place where we bootstrap into Tauri.
-
src/request.rs
Defines
invoke_request
function to handle how to send the Event to AppFlowy core