1.
======================
2. How to use the client-lib in a client application
====================================================
- Include property 'push-service-client.serverUrl=' and set it to the path to the server part
- (optional) Enable loggin via property 'logging.level.de.pushservice=DEBUG'
- Enable component scan in app configuration via '@ComponentScan("de.pushservice.client")'
- Obtain an instance of SubscriptionService via '@Autowired'
- Add a JavaScript file with content 'registerServiceWorker();' to register the service worker and subscribing at the
third party push service
- Add the created JavaScript file to HTML via '<script th:src="@{/javascript/init.js}"></script>'
- Also add the PushService client JavaScript to HTML via
'<script th:src="@{/javascript/push-service-client-init.js}"></script>'