Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Angular components for scaffolding online store

License

NotificationsYou must be signed in to change notification settings

NodeArt/angular-commerce

Repository files navigation

Online store components written in Angular.

Full API and documentation checkhere.

Check change loghere

Store architecture

Components dependencies

Most of components are separated from each other. The most common dependency isData Abstraction Layer (DAL).DAL is a bridge for some connector ( for now Firebase Connector ). DAL contains methods for manipulating with database(get products, add products to shopping cart, remove products from shopping cart etc.), auth api (register user, login, logout etc.).

Querying to database

As we started to use firebase for database, auth, storage, it was a question how to process heavy queries with aggregations, multiple conditions etc.Firebase Realtime Databese api was very simple for our requirentments.
After some time of research we stayed atElasticSearch.It's fast, allow to make heavy hard queries and Firebase team wrote an adapter to firebase calledFirebase Flashlight.
For example, queries inProduct Service are written likeElasticSearch queries.

Organization of products

About products organization you can read in docs for services, for example,Product service orBasket service.

Creating other connectors

If you want to create you own connector you must adopt it toElasticSearch flashlight output.

Docs

To create documentation:

npm inpm run build-docs

To serve documentation:

npm run serve-docs

[8]ページ先頭

©2009-2025 Movatter.jp