{
	"info": {
		"_postman_id": "74a1f1cc-fb66-424e-9e0d-65aa9d4e51fa",
		"name": "Invoice JWT App",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Authentication",
			"item": [
				{
					"name": "signup",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"username\": \"aryx\",\n    \"password\": \"neko\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8080/signup",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"signup"
							]
						}
					},
					"response": []
				},
				{
					"name": "signin",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"username\": \"aryx\",\n    \"password\": \"neko\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8080/signin",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"signin"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Invoices",
			"item": [
				{
					"name": "get all invoice",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhcnl4IiwiaWF0IjoxNjI2NDQxOTAxLCJleHAiOjE2MjY0Nzc5MDF9.EKbC8G2723oHKW0jO9gpqw3TSJ4z4DwSv7odAv_C7po",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8080/invoice",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"invoice"
							]
						}
					},
					"response": []
				},
				{
					"name": "get invoice",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhcnl4IiwiaWF0IjoxNjI2NDQxOTAxLCJleHAiOjE2MjY0Nzc5MDF9.EKbC8G2723oHKW0jO9gpqw3TSJ4z4DwSv7odAv_C7po",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8080/invoice/17",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"invoice",
								"17"
							]
						}
					},
					"response": []
				},
				{
					"name": "new invoice",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhcnl4IiwiaWF0IjoxNjI2NDQxOTAxLCJleHAiOjE2MjY0Nzc5MDF9.EKbC8G2723oHKW0jO9gpqw3TSJ4z4DwSv7odAv_C7po",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"number\": \"ARYX-2021-2\",\n    \"sellerName\": \"Tóth Patrik\",\n    \"sellerTaxNumber\": \"57256977-1-23\",\n    \"buyerName\": \"Bautransform Kolátolt Felelősségű Társaság\",\n    \"buyerTaxNumber\": \"26649997-2-03\",\n    \"created_at\": \"2021-07-14\",\n    \"payment_due\": \"2021-07-31\",\n    \"grossTotal\": 12000\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8080/invoice",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"invoice"
							]
						}
					},
					"response": []
				},
				{
					"name": "update invoice",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhcnl4IiwiaWF0IjoxNjI2NDQxOTAxLCJleHAiOjE2MjY0Nzc5MDF9.EKbC8G2723oHKW0jO9gpqw3TSJ4z4DwSv7odAv_C7po",
									"type": "string"
								}
							]
						},
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"number\": \"ARYX-2021-2\",\n    \"sellerName\": \"Tóth Patrik\",\n    \"sellerTaxNumber\": \"57256977-1-23\",\n    \"buyerName\": \"Bautransform Kolátolt Felelősségű Társaság\",\n    \"buyerTaxNumber\": \"26649997-2-03\",\n    \"created_at\": \"2021-07-14\",\n    \"payment_due\": \"2021-07-31\",\n    \"grossTotal\": 12000\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8080/invoice/18",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"invoice",
								"18"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "ping",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImlhdCI6MTYyNjQyNzY2NiwiZXhwIjoxNjI2NDYzNjY2fQ.FcQa9iwtOhCiNT9y3PTVdE0v3YXnmK4Bp2b8bhLTysE",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://localhost:8080/ping",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8080",
					"path": [
						"ping"
					]
				}
			},
			"response": []
		}
	]
}