How codewithpawangit/ngrx-emp-crud-project works
Project type and purpose
• This is a single-page Angular application with NgRx for state management, demonstrating CRUD operations on employee records.
• It relies on a JSON Server (db.json) as a mock REST API backend.
File structure
• Top-level files: angular.json, package.json, db.json (mock API data), README.md
• src/app/
• app.module.ts & app-routing.module.ts
• employee/ – feature module containing Add, Edit, Home components, its own routing, service, and NgRx store files (actions, reducers, effects, selectors)
• shared/store/ – global app-level store (app.action.ts, app.reducer.ts, app.selector.ts, appstate.ts)
• src/environments – environment configs
• tests & specs alongside their components
README for insights
• The README confirms use of json-server (db.json) as the mock API.
• Angular CLI (ng serve) to launch the front end.