Go to file
Paul Mathieu 675e060089 Add config module
Also toast for chikin ID
2022-09-11 12:45:48 +02:00
client Add config module 2022-09-11 12:45:48 +02:00
data Add backend 2022-09-07 12:40:19 +02:00
.gitignore Add backend 2022-09-07 12:40:19 +02:00
config.js Add config module 2022-09-11 12:45:48 +02:00
index.js Add config module 2022-09-11 12:45:48 +02:00
package.json A wrapping client and label printing 2022-09-07 19:08:49 +02:00
README.md Add backend 2022-09-07 12:40:19 +02:00
yarn.lock A wrapping client and label printing 2022-09-07 19:08:49 +02:00

chikinz

yarn install

Launch:

node index

Service then available at [http://localhost:3000]

Get a token:

curl -H 'Content-Type: application/json' -d '{"password": "..."}' http://localhost:3000/toktok

Use the token:

curl -H 'Content-Type: application/json' -H 'Authorization: Bearer <<token here>>' -d '{data}' http://localhost:3000/wrap