2022-07-17 13:45:35 +00:00
|
|
|
# An alternative API to Google Keep
|
2022-07-20 07:00:19 +00:00
|
|
|
|
|
|
|
[![Build Status](https://cicd.amine-louveau.fr/api/badges/AmineL/liste-de-courses/status.svg?ref=refs/heads/main)](https://cicd.amine-louveau.fr/AmineL/liste-de-courses)
|
|
|
|
|
2022-07-17 13:45:35 +00:00
|
|
|
# Authentication
|
|
|
|
|
|
|
|
The api use two means of authentication:
|
|
|
|
- A configurable `Authorization` that is set in a env variable, and that will only be used to create the second mean of authentication
|
|
|
|
- Tokens used to do everything else.
|
|
|
|
|
|
|
|
|
|
|
|
## HOW TO USE
|
|
|
|
|
|
|
|
- Do a maven install (cli or GUI)
|
|
|
|
- Create a env variable `LDC_AUTH` containing the Auth header you want to use to create authentication keys.
|
|
|
|
- java -jar liste-de-courses-XXX-jar-with-dependencies.jar
|
|
|
|
- The jar is now running on localhost:7000
|