From 3e87ddd3210f2fafe3586d1be432c6fb73ecf962 Mon Sep 17 00:00:00 2001 From: Juan Marulanda De Los Rios Date: Tue, 16 Sep 2025 03:37:45 +0000 Subject: [PATCH] Add Architecture? --- Architecture%3F.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Architecture%3F.md diff --git a/Architecture%3F.md b/Architecture%3F.md new file mode 100644 index 0000000..4ad760d --- /dev/null +++ b/Architecture%3F.md @@ -0,0 +1,9 @@ +Not sure what to call this but the frontend's structure is like this. + +The main.dart runs, and there's 4/5 routes, +- The `/` route is the initial route when the app starts, and calls the SplashScreen class, which checks if the user is already logged in, if so then the user then goes on to the `/home` route, if not then `/login` +- The `/login' route, as the name implies makes the user log in, by asking the user for their ip of the backend server, its port, email address, and password. One may ask themselves, "Why the ip and port fields?", and you would be correct to question the port, it should for sure be deleted but for the ip the story is different. If you are in a machine running the server should be simple, then the port would be 127.0.0.1, but for iPhone one would need to specify the ip of which the server is hosted at, so that you can fetch the data from there, with Android the executable of the crabmail library has worked but its not entirely fully tested, mainly because we didn't check with Sonic Search. But iroh sync, and crabmail did work. + +- + +