Go to file
Paul Mathieu 0e67d30c7d Minor fixes
- use catclient instead of catprint
- fix weight being 1000x what it should be
- issue auth tokens for 20 hours
2022-09-10 08:32:42 +02:00
client Fix select dropdown on iOS 2022-09-07 19:51:33 +02:00
data Add backend 2022-09-07 12:40:19 +02:00
.gitignore Add backend 2022-09-07 12:40:19 +02:00
index.js Minor fixes 2022-09-10 08:32:42 +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