Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IC files CRUD #119

Open
aliscie opened this issue Dec 16, 2022 · 0 comments
Open

IC files CRUD #119

aliscie opened this issue Dec 16, 2022 · 0 comments

Comments

@aliscie
Copy link
Owner

aliscie commented Dec 16, 2022

  1. this function get_files should return a files tree here
    Please note: We are using this backend folder in order to connect the frontend with the backend, it can be renamed to connect_backend. The reason why we use this folder is because we have two backends 1. tauri backend (local storage) 2. ic backend (cloud storage) so we put both here as a better and scalable practice.
  2. Also, we are using adjacency list data structure you can find the import file node like this use shared::schema::files::FileNode; in the ic backend. Check all the scheme here
    Note: files must have the same structure as the tauri backend
    Note: Try to run cargo tauri dev and check how the files looks like

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant