GitHub Repository | npmjs package | Unpkg CDN | Mono Bundle
This is an application for allowing payments with various payment gateways.
- You need the API server running
- You need the DBP Mono Bundle
# get the source
git clone git@github.com:digital-blueprint/mono-app.git
cd mono-app
git submodule update --init
# install dependencies
npm install
# constantly build dist/bundle.js and run a local web-server on port 8001
npm run watch
# same as watch, but with babel, terser, etc active -> very slow
npm run watch-full
# constantly build dist/bundle.js and run a local web-server on port 8001 using a custom assets directory assets_custom/
npm run watch-custom
# run tests
npm test
# build for deployment
npm build
Jump to https://localhost:8001, and you should get a Single Sign On login page.
By default, the application is built using the assets in assets/
. However, custom assets can also be used to build the application. The custom assets can be added to the directory assets_custom/dbp-mono/assets/
. This allows developers to easily develop and build the application for different environments.