As a UI software developer, I would structure an Angular NGRX application for an ordering system as follows:
-
Set up the Angular application with the necessary dependencies and modules.
-
Create a feature module for the ordering system, e.g.,
OrderModule
. -
Define the state, actions, and reducers for the ordering system.
-
Create selectors for accessing the state.
-
Implement components and services for the ordering system.
-
Set up routing for the ordering system.
Here's a more detailed breakdown of the structure:
src/
app/
order/
components/
order-list/
order-list.component.html
order-list.component.scss
order-list.component.ts
order-detail/
order-detail.component.html
order-detail.component.scss
order-detail.component.ts
services/
order.service.ts
store/
actions/
order.actions.ts
effects/
order.effects.ts
reducers/
order.reducer.ts