- rust 1.53.0
- juniper( https://github.com/graphql-rust/juniper )
- juniper from schema( https://github.com/davidpdrsn/juniper-from-schema )
- dataloader( https://github.com/cksac/dataloader-rs )
- diesel( https://github.com/diesel-rs/diesel )
- k8s
- cloud sql
- firebase auth
- misoca api
https://app.misoca.jp/oauth2/authorize?client_id=jGKRHV2hW_t4kn0w4Ma1Jxo_XkZxUA37rqFPRiYT61k&redirect_uri=https://works-prod.web.app&response_type=code&scope=write
curl --location --request POST 'https://app.misoca.jp/oauth2/token' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "jGKRHV2hW_t4kn0w4Ma1Jxo_XkZxUA37rqFPRiYT61k",
"client_secret": "",
"redirect_uri": "https://works-prod.web.app",
"grant_type": "authorization_code",
"code": ""
}'
curl --location --request POST 'https://app.misoca.jp/oauth2/token' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "jGKRHV2hW_t4kn0w4Ma1Jxo_XkZxUA37rqFPRiYT61k",
"client_secret": "",
"redirect_uri": "https://works-prod.web.app",
"grant_type": "refresh_token",
"refresh_token": "MGFqzUdlBRWl-WmyfevZcctHiSTkT-SAmlQty4EUBLs"
}'
curl --location --request GET 'https://app.misoca.jp/api/v3/contacts' \
--header 'Content-Type: application/json' \
--header 'Authorization: bearer '
curl --location --request GET 'https://app.misoca.jp/api/v3/invoices' \
--header 'Content-Type: application/json' \
--header 'Authorization: bearer '
curl --location --request POST 'https://app.misoca.jp/api/v3/invoice' \
--header 'Content-Type: application/json' \
--header 'Authorization: bearer ' \
--data '{
"issue_date":"2021-08-01",
"subject":"システム開発委託 (8月分)",
"payment_due_on":"2021-08-31",
"contact_id":2200514,
"items":[{
"name":"システム開発委託",
"quantity":1,
"unit_price":200000,
"tax_type":"STANDARD_TAX_10"
}]
}'