|
@@ -0,0 +1,75 @@
|
|
|
+# PoLZy Showcase
|
|
|
+
|
|
|
+This is a showcase of PoLZy - the *simple* Policy Lifecycle application for auto and P&C insurance companies.
|
|
|
+
|
|
|
+It includes full test data for policies, fast offer and shows most of the functionalities of user and organization
|
|
|
+management.
|
|
|
+
|
|
|
+In case you want a Demo or discuss, how PoLZy can help your company to attract more new business and reduce overhead
|
|
|
+costs in administration do contact us now: info@buhl-consulting.com.cy.
|
|
|
+
|
|
|
+# Installation
|
|
|
+
|
|
|
+## From repository:
|
|
|
+
|
|
|
+### Install Showcase-Backend
|
|
|
+* ``git clone https://gogs.earthsquad.global/athos/PoLZy_Showcase``
|
|
|
+* ``cd PoLZy_Showcase``
|
|
|
+* create virtual environment, e.g. like this
|
|
|
+ * ```virtualenv venv```
|
|
|
+ * ```source venv/bin/activate``` (on Mac/Linux) or ```venv/scripts/activate``` (on windows)
|
|
|
+ * ```pip install -r requirements.txt```
|
|
|
+* Start the backend:
|
|
|
+ * ``runbackend.sh`` (on Mac/Linux) or ``runbackend.bat`` (on Windows)
|
|
|
+
|
|
|
+### Install PoLZy Frontend
|
|
|
+
|
|
|
+You need to have node package manager installed for the frontend to run. Visit
|
|
|
+https://nodejs.org/en/ to install the package for your operating system.
|
|
|
+
|
|
|
+* ``git clone https://gogs.earthsquad.global/athos/PoLZy``
|
|
|
+* ``cd PoLZy/polzy-frontend``
|
|
|
+* ```npm install```
|
|
|
+* ```npm start```
|
|
|
+
|
|
|
+This will open a new browser tab directing you to ``http://localhost:3000``
|
|
|
+
|
|
|
+## Via Docker
|
|
|
+
|
|
|
+TODO
|
|
|
+
|
|
|
+# Usage
|
|
|
+
|
|
|
+Login to http://localhost:3000 and use these usernames to see different layouts and functionalities depending on the
|
|
|
+role and authorization of the user:
|
|
|
+
|
|
|
+* ``admin@polzy.com``: Full administration, also of all organziations and users
|
|
|
+* ``agent@polzy.com``: Opens directly with a Fast offer, ready to calculate
|
|
|
+* ``clerk@polzy.com``: Opens directly in Policy view. No option for calculating fast offers
|
|
|
+
|
|
|
+# Usage of Policy view:
|
|
|
+
|
|
|
+Usually you would connect PoLZy to your policy management system. For the Showcase we simply created a JSON datastore.
|
|
|
+You can see it in ```pms/data/policies.json```. You can try with all policy numbers and see different representations
|
|
|
+of the policy in the UI.
|
|
|
+
|
|
|
+In a real implementation you'd also see different Activities for each policy, depending on the product and current
|
|
|
+state. The logic, which activities are possible (and allowed for the current user) along with the logic, which input
|
|
|
+parameters are needed for an activitiy can be implemented either in PoLZy or in your policy management backend system.
|
|
|
+
|
|
|
+Here some policy numbers for you to try:
|
|
|
+* AS-12345
|
|
|
+* JG-48470
|
|
|
+* GL-21870
|
|
|
+
|
|
|
+# Usage of fast offer view:
|
|
|
+
|
|
|
+When you're logged in with either `admin` or `agent` you can calculate a fast offer. In this example of an auto
|
|
|
+insurance the agent has to provide some technical parameters (which would usually be relevant for the calucation in the
|
|
|
+policy management system). After all required parameters are filled in, the system will automatically calculate the
|
|
|
+premium.
|
|
|
+
|
|
|
+Once the premium is calculated there's a new activity button in the card to print the pricing information along with
|
|
|
+the technical parameters.
|
|
|
+
|
|
|
+To send the application to underwriters or directly into the policy management system click ``Create Policy``.
|