summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/README.md b/README.md
index 36ba218f..2805bf16 100644
--- a/README.md
+++ b/README.md
@@ -7,11 +7,23 @@ The user-facing component of the OpenDC stack, allowing users to build and inter
## Architecture
-The codebase follows a standard React.js structure, with static assets being contained in the `public` folder, while dynamic components and their styles are contained in `src`.
+The codebase follows a standard React.js structure, with static assets being contained in the `public` folder, while dynamic components and their styles are contained in `src`. The app uses client-side routing (with `react-router`), meaning that the only HTML file needed to be served is a `index.html` file.
### Pages
-//
+All pages are represented by a component in the `src/pages` directory. There are components for the following pages:
+
+**Home.js** - Entry page (`/`)
+
+**Simulations.js** - Overview of simulations the user (`/simulations`)
+
+**App.js** - Main application, with datacenter construction and simulation UI (`/simulations/:simulationId` and `/simulations/:simulationId/experiments/:experimentId`)
+
+**Experiments.js** - Overview of experiments of the current simulation (`/simulations/:simulationId/experiments`)
+
+**Profile.js** - Profile of the current user (`/profile`)
+
+**NotFound.js** - 404 page to appear when route is invalid (`/*`)
### Components & Containers