How verifiedpermissions/examples works
The tree contains two products: a notebook application and a pet-store example, with the pet-store backend and frontend duplicated as start and finish variants. The notebook flow is authenticated notebook browsing, creation and sharing; the pet-store flow is UI navigation through pet operations backed by an Express API and DynamoDB. The available excerpts show notebook state fetching and pet CRUD persistence, but not the complete route wiring or all frontend API calls, so those links are omitted or marked unverified. Major pet-store capabilities are represented by page and API subsystem nodes; the duplicate variants are kept distinct where core files require it.
Main entry points: App.tsx Routes and create form · src/app.ts Express application · src/app.ts Express application · index.js Notebook API
Components 32
Notebook interface
- Routes and create form
express-notebook-app/notebook-app-frontend/src/App.tsx - Notebook state and API
express-notebook-app/notebook-app-frontend/src/state/appState.tsx - Notebook lists
express-notebook-app/notebook-app-frontend/src/routes/notebooks.tsx - Notebook detail
express-notebook-app/notebook-app-frontend/src/routes/notebook.tsx - Shared notebooks
express-notebook-app/notebook-app-frontend/src/routes/shared-notebooks.tsx
Notebook services
- Notebook API
express-notebook-app/notebook-app-backend/index.js - Request authentication
express-notebook-app/notebook-app-backend/middleware/authMiddleware.js - Notebook repository
express-notebook-app/notebook-app-backend/notebookRepository.js
Pet-store interface
- Pet-store routes and shell
express-petstore/finish/frontend/src/App.tsx - Pet and account pages
express-petstore/finish/frontend/src/pages - Authentication state
express-petstore/finish/frontend/src/context/AuthContext.tsx - API context and hooks
express-petstore/finish/frontend/src/context/ApiContext.tsx - API client
express-petstore/finish/frontend/src/utils/apiClient.ts - Pet-store routes and shell
express-petstore/start/frontend/src/App.tsx - Pet and account pages
express-petstore/start/frontend/src/pages - Authentication state
express-petstore/start/frontend/src/context/AuthContext.tsx - API context and hooks
express-petstore/start/frontend/src/context/ApiContext.tsx - API client
express-petstore/start/frontend/src/utils/apiClient.ts
Pet-store API
- Express application
express-petstore/finish/backend/src/app.ts - Pet routes
express-petstore/finish/backend/src/routes/petRoutes.ts - Pet CRUD
express-petstore/finish/backend/src/controllers/petController.ts - DynamoDB pet records
express-petstore/finish/backend/src/controllers/petController.ts - Development diagnostics
express-petstore/finish/backend/src/routes/debugRoutes.ts - Error handling
express-petstore/finish/backend/src/middleware/errorHandler.ts - Express application
express-petstore/start/backend/src/app.ts - Pet routes
express-petstore/start/backend/src/routes/petRoutes.ts - Pet CRUD
express-petstore/start/backend/src/controllers/petController.ts - DynamoDB pet records
express-petstore/start/backend/src/controllers/petController.ts - Development diagnostics
express-petstore/start/backend/src/routes/debugRoutes.ts - Error handling
express-petstore/start/backend/src/middleware/errorHandler.ts
Other components
- Notebook user
- Pet-store user
Connections 30
- Notebook user → Routes and create form: uses
express-notebook-app/notebook-app-frontend/src/App.tsx - Routes and create form → Notebook lists: routes to
express-notebook-app/notebook-app-frontend/src/App.tsx - Routes and create form → Notebook detail: routes to
express-notebook-app/notebook-app-frontend/src/App.tsx - Routes and create form → Shared notebooks: routes to
express-notebook-app/notebook-app-frontend/src/App.tsx - Routes and create form → Notebook state and API: creates via
express-notebook-app/notebook-app-frontend/src/App.tsx - Notebook state and API → Notebook API: fetches API
- Notebook API → Request authentication: uses
express-notebook-app/notebook-app-backend/index.js - Notebook API → Notebook repository: delegates to
express-notebook-app/notebook-app-backend/index.js - Pet-store user → Pet-store routes and shell: uses
- Pet-store routes and shell → Pet and account pages: routes to
express-petstore/finish/frontend/src/App.tsx - Pet-store routes and shell → Authentication state: provides auth
express-petstore/finish/frontend/src/App.tsx - Pet and account pages → API context and hooks: uses API
express-petstore/finish/frontend/src/pages/HomePage.tsx - API context and hooks → Authentication state: reads auth
- API client → Express application: calls HTTP
- Express application → Pet routes: mounts
express-petstore/finish/backend/src/app.ts - Express application → Development diagnostics: mounts
express-petstore/finish/backend/src/app.ts - Express application → Error handling: uses
express-petstore/finish/backend/src/app.ts - Pet routes → Pet CRUD: dispatches to
express-petstore/finish/backend/src/routes/petRoutes.ts - Pet CRUD → DynamoDB pet records: reads and writes
express-petstore/finish/backend/src/controllers/petController.ts - Pet-store user → Pet-store routes and shell: uses
- Pet-store routes and shell → Pet and account pages: routes to
express-petstore/start/frontend/src/App.tsx - Pet-store routes and shell → Authentication state: provides auth
express-petstore/start/frontend/src/App.tsx - Pet and account pages → API context and hooks: uses API
express-petstore/start/frontend/src/pages/HomePage.tsx - API context and hooks → Authentication state: reads auth
- API client → Express application: calls HTTP
- Express application → Pet routes: mounts
express-petstore/start/backend/src/app.ts - Express application → Development diagnostics: mounts
express-petstore/start/backend/src/app.ts - Express application → Error handling: uses
express-petstore/start/backend/src/app.ts - Pet routes → Pet CRUD: dispatches to
express-petstore/start/backend/src/routes/petRoutes.ts - Pet CRUD → DynamoDB pet records: reads and writes
express-petstore/start/backend/src/controllers/petController.ts