Skip to content

Repository files navigation

Knowledge Builder

An AI-powered web-based Learning app for English, Chinese, and Knowledge Bank.

Branch feature/v2

Development of the Knowledge Builder web app (Angular 21, standalone components).

This project was generated with Angular CLI version 21.1.2.

Development server

Run ng serve for a dev server. Navigate to http://localhost:29800/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Vitest.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

API Backend

The frontend connects to different backend APIs depending on the version:

VersionPackage VersionAPI RepositoryProtocol
V10.*Knowledge Builder APIOData
V21.*+aclearningutilREST

The API URL is configured in src/environments/environment*.ts via apiUrl.

Versions

VersionPackage VersionBranchStatus
V10.*v1Legacy — live on gh-pages branch
V21.*+main, feature/v2Active development

The gh-pages branch currently serves V1.

Responsive Layout

The app adapts to different screen sizes with a three-tier layout (minimum width: 360px — supports most mobile phones in portrait):

BreakpointNavbarSub-page Toolbars
>1200pxFull labels, user name visibleNormal layout with all controls
821–1200pxAbbreviated labels (Voc, Sent, etc.), icon-only user buttonCompact single-row, item count hidden
≤820pxHamburger menu with slide-out drawerTwo-row layout, smaller buttons

License

MIT

Author

Alva Chien

About

Knowledge Builder, a angular-based web app for building knowledges, including knowledge item, exercises, quiz and failed exercises tracing.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages