-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from PlanBGmbH/docs/29-write-a-meaningful-readme
📝 Wrote a meaningful readme
- Loading branch information
Showing
2 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,49 @@ | ||
# flinkey Web Components | ||
This project provides some Web Components built for usage in combination with the flinkey API. | ||
|
||
[](https://github.com/PlanBGmbH/flinkey-web-components/actions/workflows/Build_Publish.yml) [](https://badge.fury.io/js/@planbgmbh%2Fflinkey-web-components) [](https://opensource.org/licenses/MIT) | ||
|
||
## Table of contents | ||
|
||
- [Introduction](#introduction) | ||
- [Getting started](#getting-started) | ||
- [Contributing](#contributing) | ||
- [Versioning](#versioning) | ||
- [License](#license) | ||
|
||
|
||
## Introduction | ||
|
||
This project provides some [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components) built for usage in combination with the [flinkey API](https://developers.flinkey.com/api/v3/getting-started/). The reason to build these collection of [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components) was that some functionality is provided via [flinkey API](https://developers.flinkey.com/api/v3/getting-started/) only but there is no pre-built UI for that functionality anywhere. Therefore each customer of WITTE Digital needs to build their own UI that consumes these specific endpoints. | ||
|
||
## Getting started | ||
|
||
### Installation | ||
|
||
```shell | ||
npm install @planbgmbh/flinkey-web-components | ||
``` | ||
|
||
### Usage example | ||
|
||
```ts | ||
Globals.customerId = 1; | ||
Globals.apiKey = 'SomeApiKey'; | ||
Globals.token = 'ey123'; | ||
Globals.apiBaseUrl = 'https://api.flinkey.de/v3'; | ||
``` | ||
|
||
```html | ||
<flinkey-keyfob-catalog></flinkey-keyfob-catalog> | ||
``` | ||
|
||
## Contributing | ||
|
||
Please read through our [contributing guidelines](./CONTRIBUTING.md). | ||
|
||
## Versioning | ||
|
||
Maintained under the [Semantic Versioning guidelines](https://semver.org/). | ||
|
||
## License | ||
|
||
[License](./LICENSE) |