$ cd expiration
copy some codes from tickets
$ npm install --save bull @types/bull
$ cd skaffold
$ skaffold dev
CREATE TICKET
// CREATE ORDER
$ curl \
--insecure \
--cookie /tmp/cookies.txt \
--data '{"ticketId":"5ec43c86298c01001811bbb7"}' \
--header "Content-Type: application/json" \
--request POST https://ticketing.dev/api/orders \
| python -m json.tool
response:
{
"expiresAt": "2020-05-19T20:23:05.480Z",
"id": "5ec43ca50880b600192cf43d",
"status": "created",
"ticket": {
"id": "5ec43c86298c01001811bbb7",
"price": 10,
"title": "concert",
"version": 0
},
"userId": "5ec43c7cb0fd040023683c8b",
"version": 0
}
$ cd expiration
$ npm update @grider-ms-tickets/common
$ cd orders
$ npm update @grider-ms-tickets/common
$ cd orders
$ npm run test
CREATE TICKET
CREATE ORDER
Marley
Any questions in english: Telegram Chat
Любые вопросы на русском: Телеграм чат