init db with migration, create users table
This commit is contained in:
15
documentation/bruno-rest-api/LocalAPI/auth/credentials.bru
Normal file
15
documentation/bruno-rest-api/LocalAPI/auth/credentials.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: credentials
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/auth/credentials
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
8
documentation/bruno-rest-api/LocalAPI/auth/folder.bru
Normal file
8
documentation/bruno-rest-api/LocalAPI/auth/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: auth
|
||||
seq: 1
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
9
documentation/bruno-rest-api/LocalAPI/bruno.json
Normal file
9
documentation/bruno-rest-api/LocalAPI/bruno.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "LocalAPI",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
vars {
|
||||
BASE_URL: http://localhost:3000
|
||||
}
|
||||
15
documentation/bruno-rest-api/LocalAPI/hello.bru
Normal file
15
documentation/bruno-rest-api/LocalAPI/hello.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: hello
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/hello
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Reference in New Issue
Block a user