Commit 766f9ef 1 parent 8e6ef8f commit 766f9ef Copy full SHA for 766f9ef
File tree 1 file changed +15
-4
lines changed
1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,23 @@ Environment variables are set in the `env` section of the GitHub Actions workflo
97
97
98
98
## Project Structure
99
99
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 ) :
101
101
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.
104
106
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.
106
117
107
118
## Additional Resources
108
119
You can’t perform that action at this time.
0 commit comments