@digital-blueprint/mono-app
v0.3.0
Published
[GitHub Repository](https://github.com/digital-blueprint/mono-app) | [npmjs package](https://www.npmjs.com/package/@digital-blueprint/mono-app) | [Unpkg CDN](https://unpkg.com/browse/@digital-blueprint/mono-app/) | [Mono Bundle](https://github.com/digital
Downloads
283
Readme
Mono Application
GitHub Repository | npmjs package | Unpkg CDN | Mono Bundle
This is an application for allowing payments with various payment gateways.
Prerequisites
- You need the API server running
- You need the DBP Mono Bundle
Local development
# get the source
git clone [email protected]: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.