Initial commit with basic CRUD functionality:

* GET all properties
* GET one property by id
* CREATE one property
* DELETE one property by id
This commit is contained in:
2025-08-25 14:06:29 +02:00
commit 7be4c611b3
19 changed files with 867 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
meta {
name: Create new
type: http
seq: 3
}
post {
url: {{BASE_URL}}/api/{{API_VERSION}}/properties
body: json
auth: inherit
}
body:json {
{
"name": "Mustername 1",
"street": "Musterstraße",
"houseNumber": "1",
"zipCode": "55123",
"city": "Musterstadt",
"country": "de",
"notes": "Lorem ipsum"
}
}
settings {
encodeUrl: true
}

View File

@@ -0,0 +1,15 @@
meta {
name: Get all
type: http
seq: 1
}
get {
url: {{BASE_URL}}/api/{{API_VERSION}}/properties
body: none
auth: inherit
}
settings {
encodeUrl: true
}

View File

@@ -0,0 +1,8 @@
meta {
name: Properties
seq: 2
}
auth {
mode: inherit
}

9
bruno/propify/bruno.json Normal file
View File

@@ -0,0 +1,9 @@
{
"version": "1",
"name": "propify",
"type": "collection",
"ignore": [
"node_modules",
".git"
]
}

View File

@@ -0,0 +1,4 @@
vars {
BASE_URL: http://localhost:8080
API_VERSION: v1
}