Angular-based frontend for weweave Commerce.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Web Frontend for weweave Commerce

weweave Commerce is an open source web platform for selling digital goods. It relies on external brokers performing the actual transaction and provides a order notification API for those.

This project is the Angular-base web frontend for the weweave Commerce backend. Please refer to the main project for further details.

Production Setup

The easiest way of getting the frontend up and running is to use our pre-built Docker images. However, you can of course choose to build from source.

Using Docker

  1. Run the image like this (assuming you want to link it with your MySQL container):
    docker run \
        -p 8080:80 \
        --name commerce_www \
  2. Access the web frontend at port 8080. Default username is "admin@admin.local", password is "admin".
  3. After logging in with the admin account, change the username and/or password under "Persons" and configure the system further under "Settings".

Please use a cloud native edge router like Traefik (or nginx or haproxy):

  • Route all incoming requests to /api/ to the backend.
  • Route all other incoming requests to the frontend.

If your frontend is not running at the root path, you must change the base href by setting the frontend's docker environment variable BASE_HREF.

Building from source

  1. Make sure you have Node.js installed (tested with Node.js v8).
  2. Make sure you have Angular CLI installed:
    npm install -g @angular/cli
  3. Check out the source code and build it:
    git clone
    cd commerce-www
    npm install
    ng build --prod
  4. Copy the contents of the dist/commerce-www/ folder to the www/ folder of the backend project.

Development server

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