Embed the loan quote widget in your e-commerce to show your customer how much they're going to pay with Soisy's instalments. The embedding instructions are written in our official documentation.
This repository is open-source so that, those who needs, could download it and customize their own version. This software is provided under the Mozilla Public License 2.0. Please check section 6 of the license.
Please note that this project uses Docker for development and CI/CD.
Therefore it is mandatory to have docker
and docker-compose
installed in your local environment.
If you simply want to embed the widget in your page please refer to our official documentation.
If you want to have your own local copy, then please read further.
To install the widget's source locally please follow these instructions:
- Git clone this repo to your local development environment
cd
to the root of the project- Run
$ cd .docker
to go to the sub-directory where all the Docker's config files are. - Run
$ docker-compose up -d
. This will take several minutes the first time, so don't be afraid to wait a little 😜 - After your container is up and running you can enter it by running
$ docker-compose exec web sh
.
You can check your local widget running at this address http://localhost:4200.
NOTE: If the address above doesn't give you a response please note that the npm i
command may still be installing and building something up. Wait another couple of minutes and you'll see everything's working.
This project uses NX as tool for development.
You can execute the test suite by running
$ nx test
inside your docker container.
Refer to NX documentation or run nx test --help
if you need more info.