百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

example-app

> 前端框架
开源

一个展示 ngrx 平台的示例应用

1.4K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个展示 ngrx 平台的示例应用


This repository is for version 2.x of the example application.

Click here for the latest version (4.x)


@ngrx example application

Example application utilizing @ngrx libraries, showcasing common patterns and best practices. Take a look at the live app.

This app is a book collection manager. Using the Google Books API, the user can search for books and add them to their collection. This application utilizes @ngrx/db to persist the collection across sessions; @ngrx/store to manage the state of the app and to cache requests made to the Google Books API; @angular/router to manage navigation between routes; @ngrx/effects to isolate side effects.

Built with @angular/cli

Included

  • ngrx/store - RxJS powered state management for Angular apps, inspired by Redux
  • ngrx/effects - Side effect model for @ngrx/store
  • angular/router - Angular Router
  • ngrx/db - RxJS powered IndexedDB for Angular apps
  • ngrx/store-devtools - Instrumentation for @ngrx/store enabling time-travel debugging
  • codewareio/ngrx-store-freeze - A @ngrx/store meta reducer that prevents state from being mutated
  • reselect - Selector library for Redux

Quick start

# clone the repo
git clone https://github.com/ngrx/example-app.git

# change directory to repo
cd example-app

# Use npm or yarn to install the dependencies:
npm install

# OR
yarn

# start the server
ng serve

Navigate to http://localhost:4200/ in your browser

NOTE: The above setup instructions assume you have added local npm bin folders to your path. If this is not the case you will need to install the Angular CLI globally.

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •ngrx/store - RxJS powered state management for Angular apps, inspired by Redux
  • •ngrx/effects - Side effect model for @ngrx/store
  • •angular/router - Angular Router
  • •ngrx/db - RxJS powered IndexedDB for Angular apps
  • •ngrx/store-devtools - Instrumentation for @ngrx/store enabling time-travel debugging
  • •codewareio/ngrx-store-freeze - A @ngrx/store meta reducer that prevents state from being mutated
  • •reselect - Selector library for Redux

> 标签

TypeScriptangularngrxobservablesredux

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架