Skip to content

Commit 766f9ef

Browse files
committed
docs: update readme.md
1 parent 8e6ef8f commit 766f9ef

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,23 @@ Environment variables are set in the `env` section of the GitHub Actions workflo
9797

9898
## Project Structure
9999

100-
This project is an integrated workspace powered by Nx. It contains the following:
100+
This project is an integrated workspace powered by Nx. It adheres to [Nx Library Types](https://nx.dev/concepts/more-concepts/library-types):
101101

102-
- `apps/msal-react-demo` - The NextJS application that uses MSAL-React.
103-
- `libs/lib-msal-react` - A library that wraps MSAL-React and provides a hook to use in the NextJS app.
102+
`data-access` - Handles data access and state management.
103+
`feature` - Integrates data access and UI components to provide functionality.
104+
`util` - Provides utility functions.
105+
`ui` - Defines stylized ui components and layouts.
104106

105-
Separating the MSAL-React logic into a library allows for easier reuse across multiple applications.
107+
This project contains the following:
108+
109+
- `apps/msal-react-demo` - A NextJS web client and server application.
110+
- `libs/data-access/data-access-account-context` - Handles an account context "State"
111+
- `libs/data-access/data-access-auth` - Acquires authentication tokens to access protected API resources
112+
- `libs/data-access/data-access-msal-config` - Configures MSAL-React
113+
- `libs/feature/feature-msal-react` - Provides login and logout components
114+
- `libs/util/util-verify-token` - Verifies tokens to access protected API resources
115+
116+
Separating logic into a libraries allows for easier reuse across multiple applications.
106117

107118
## Additional Resources
108119

0 commit comments

Comments
 (0)