# aaombase/skycrate architecture

> Architecture diagram of the GitHub repository aaombase/skycrate, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aaombase/skycrate
- Repository: https://github.com/aaombase/skycrate

## Overview

Skycrate is a multilingual web application for account-based file storage and management. The main workflow is account creation or login, then dashboard access to browse folders, upload files, download or delete stored items; frontend requests target an external API, and the README identifies Hadoop as part of the deployed product. The map shows frontend routing, domain screens, file operations, and shared state/localization. Backend implementation is not present in the supplied source excerpts, so its internals and API-to-storage wiring are not represented.

Main entry points: [`Frontend/src/App.jsx`](https://github.com/aaombase/skycrate/blob/main/Frontend/src/App.jsx) (Route application), [`Frontend/src/pages/UserPages/Dashboard.jsx`](https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/UserPages/Dashboard.jsx) (Dashboard), [`Frontend/src/main.jsx`](https://github.com/aaombase/skycrate/blob/main/Frontend/src/main.jsx) (React entry), [`Frontend/src/components/FileList.jsx`](https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/FileList.jsx) (File browser)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Application entry"]
  node_entrypoint["React entry<br/>[main.jsx]"]
  node_routes["Route application<br/>[App.jsx]"]
  node_landing["Landing page"]
  node_footer["Site footer<br/>[Footer.jsx]"]
  node_notfound["Not found<br/>[NotFoundPage.jsx]"]
end

subgraph group_accounts["Account access"]
  node_signup["Registration<br/>[SignUp.jsx]"]
  node_login["Login<br/>[Login.jsx]"]
end

subgraph group_files["File management"]
  node_dashboard["Dashboard<br/>[Dashboard.jsx]"]
  node_sidebar["Navigation sidebar<br/>[Sidebar.jsx]"]
  node_filelist["File browser<br/>[FileList.jsx]"]
  node_upload["Upload dialog"]
end

subgraph group_shared["Shared services"]
  node_language["Language selector"]
  node_translations["Translation setup<br/>[i18n.js]"]
  node_store["Redux store<br/>[store.js]"]
  node_pathstate["Current path state<br/>[pathSlice.js]"]
  node_uploadstate["Upload status state"]
end

node_user(("User"))
node_api["Skycrate API"]
node_hadoop[("Hadoop storage")]

node_user -->|"opens app"| node_entrypoint
node_entrypoint -->|"renders"| node_routes
node_entrypoint -->|"provides state"| node_store
node_entrypoint -->|"initializes"| node_translations
node_routes -->|"routes to"| node_landing
node_routes -->|"routes to"| node_login
node_routes -->|"routes to"| node_signup
node_routes -->|"routes to"| node_dashboard
node_routes -->|"routes to"| node_notfound
node_landing -->|"renders"| node_footer
node_signup -->|"registers account"| node_api
node_signup -->|"creates folder"| node_api
node_login -->|"authenticates"| node_api
node_login -->|"looks up username"| node_api
node_dashboard -->|"renders"| node_sidebar
node_dashboard -->|"renders"| node_filelist
node_dashboard -->|"opens"| node_upload
node_dashboard -->|"lists files"| node_api
node_filelist -->|"lists files"| node_api
node_filelist -->|"downloads or deletes"| node_api
node_filelist -->|"updates path"| node_pathstate
node_store -->|"registers reducer"| node_pathstate
node_store -->|"registers reducer"| node_uploadstate
node_upload -->|"uses status"| node_uploadstate
node_api -.->|"stores files"| node_hadoop

click node_entrypoint "https://github.com/aaombase/skycrate/blob/main/Frontend/src/main.jsx"
click node_routes "https://github.com/aaombase/skycrate/blob/main/Frontend/src/App.jsx"
click node_landing "https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/UserPages/DrivethruLandingPage.jsx"
click node_footer "https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/Footer.jsx"
click node_notfound "https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/UserPages/NotFoundPage.jsx"
click node_signup "https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/Authentication/SignUp.jsx"
click node_login "https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/Authentication/Login.jsx"
click node_dashboard "https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/UserPages/Dashboard.jsx"
click node_sidebar "https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/Sidebar.jsx"
click node_filelist "https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/FileList.jsx"
click node_upload "https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/FileUploadModal.jsx"
click node_language "https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/LanguageSwitcher.jsx"
click node_translations "https://github.com/aaombase/skycrate/blob/main/Frontend/src/i18n.js"
click node_store "https://github.com/aaombase/skycrate/blob/main/Frontend/src/store/store.js"
click node_pathstate "https://github.com/aaombase/skycrate/blob/main/Frontend/src/store/pathSlice.js"
click node_uploadstate "https://github.com/aaombase/skycrate/blob/main/Frontend/src/store/UploadStatusSlice.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entrypoint,node_routes,node_landing,node_footer,node_notfound,node_user toneBlue
class node_signup,node_login,node_hadoop toneAmber
class node_dashboard,node_sidebar,node_filelist,node_upload,node_api toneMint
class node_language,node_translations,node_store,node_pathstate,node_uploadstate toneRose
```

## Components

### Application entry

- [React entry](https://github.com/aaombase/skycrate/blob/main/Frontend/src/main.jsx): `Frontend/src/main.jsx`
- [Route application](https://github.com/aaombase/skycrate/blob/main/Frontend/src/App.jsx): `Frontend/src/App.jsx`
- [Landing page](https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/UserPages/DrivethruLandingPage.jsx): `Frontend/src/pages/UserPages/DrivethruLandingPage.jsx`
- [Site footer](https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/Footer.jsx): `Frontend/src/components/Footer.jsx`
- [Not found](https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/UserPages/NotFoundPage.jsx): `Frontend/src/pages/UserPages/NotFoundPage.jsx`

### Account access

- [Registration](https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/Authentication/SignUp.jsx): `Frontend/src/pages/Authentication/SignUp.jsx`
- [Login](https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/Authentication/Login.jsx): `Frontend/src/pages/Authentication/Login.jsx`

### File management

- [Dashboard](https://github.com/aaombase/skycrate/blob/main/Frontend/src/pages/UserPages/Dashboard.jsx): `Frontend/src/pages/UserPages/Dashboard.jsx`
- [Navigation sidebar](https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/Sidebar.jsx): `Frontend/src/components/Sidebar.jsx`
- [File browser](https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/FileList.jsx): `Frontend/src/components/FileList.jsx`
- [Upload dialog](https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/FileUploadModal.jsx): `Frontend/src/components/FileUploadModal.jsx`

### Shared services

- [Language selector](https://github.com/aaombase/skycrate/blob/main/Frontend/src/components/LanguageSwitcher.jsx): `Frontend/src/components/LanguageSwitcher.jsx`
- [Translation setup](https://github.com/aaombase/skycrate/blob/main/Frontend/src/i18n.js): `Frontend/src/i18n.js`
- [Redux store](https://github.com/aaombase/skycrate/blob/main/Frontend/src/store/store.js): `Frontend/src/store/store.js`
- [Current path state](https://github.com/aaombase/skycrate/blob/main/Frontend/src/store/pathSlice.js): `Frontend/src/store/pathSlice.js`
- [Upload status state](https://github.com/aaombase/skycrate/blob/main/Frontend/src/store/UploadStatusSlice.js): `Frontend/src/store/UploadStatusSlice.js`

### Other components

- **User**
- **Skycrate API**
- **Hadoop storage**

## Connections

- User → React entry: opens app (evidence: `Frontend/src/main.jsx`)
- React entry → Route application: renders (evidence: `Frontend/src/main.jsx`)
- React entry → Redux store: provides state (evidence: `Frontend/src/main.jsx`)
- React entry → Translation setup: initializes (evidence: `Frontend/src/main.jsx`)
- Route application → Landing page: routes to (evidence: `Frontend/src/App.jsx`)
- Route application → Login: routes to (evidence: `Frontend/src/App.jsx`)
- Route application → Registration: routes to (evidence: `Frontend/src/App.jsx`)
- Route application → Dashboard: routes to (evidence: `Frontend/src/App.jsx`)
- Route application → Not found: routes to (evidence: `Frontend/src/App.jsx`)
- Landing page → Site footer: renders (evidence: `Frontend/src/pages/UserPages/DrivethruLandingPage.jsx`)
- Registration → Skycrate API: registers account (evidence: `Frontend/src/pages/Authentication/SignUp.jsx`)
- Registration → Skycrate API: creates folder (evidence: `Frontend/src/pages/Authentication/SignUp.jsx`)
- Login → Skycrate API: authenticates (evidence: `Frontend/src/pages/Authentication/Login.jsx`)
- Login → Skycrate API: looks up username (evidence: `Frontend/src/pages/Authentication/Login.jsx`)
- Dashboard → Navigation sidebar: renders (evidence: `Frontend/src/pages/UserPages/Dashboard.jsx`)
- Dashboard → File browser: renders (evidence: `Frontend/src/pages/UserPages/Dashboard.jsx`)
- Dashboard → Upload dialog: opens (evidence: `Frontend/src/pages/UserPages/Dashboard.jsx`)
- Dashboard → Skycrate API: lists files (evidence: `Frontend/src/pages/UserPages/Dashboard.jsx`)
- File browser → Skycrate API: lists files (evidence: `Frontend/src/components/FileList.jsx`)
- File browser → Skycrate API: downloads or deletes (evidence: `Frontend/src/components/FileList.jsx`)
- File browser → Current path state: updates path (evidence: `Frontend/src/components/FileList.jsx`)
- Redux store → Current path state: registers reducer (evidence: `Frontend/src/store/store.js`)
- Redux store → Upload status state: registers reducer (evidence: `Frontend/src/store/store.js`)
- Upload dialog → Upload status state: uses status (evidence: `Frontend/src/components/FileUploadModal.jsx`)
- Skycrate API → Hadoop storage: stores files
