https://github.com/dimasmith/subscriptions-service
A service to keep track of periodic payments for services
https://github.com/dimasmith/subscriptions-service
Last synced: 5 months ago
JSON representation
A service to keep track of periodic payments for services
- Host: GitHub
- URL: https://github.com/dimasmith/subscriptions-service
- Owner: dimasmith
- License: mit
- Created: 2020-10-14T22:57:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T02:08:57.000Z (over 3 years ago)
- Last Synced: 2025-02-09T08:31:28.005Z (over 1 year ago)
- Language: Java
- Size: 167 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Subscription Service
The API service to store subscriptions to online services.
Allows users to see how much they will spend on online service this month.
## Build Docker image
The service uses [jib plugin](https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin)
to build docker images.
```shell script
mvn compile jib:dockerBuild
```
## See the REST spec
When service starts it exposes generated OpenAPI spec.
You can access it on the [http://localhost:8080/v3/api-docs.yaml](http://localhost:8080/v3/api-docs.yaml).
You can also access the swagger UI on [http://localhost:8080/swagger-ui.html](http://localhost:8080/swagger-ui.html).
## Security
Calls to endpoints must be authenticated.
Service uses basic authentication to secure access.
When service starts for the first time it configures a single user with username `admin` and password `secret`.
Calls to swagger-ui and OpenAPI aren't secured.