refactor nest app to server folder

This commit is contained in:
Roland Schneider
2025-11-06 17:24:11 +01:00
parent ea74d34363
commit 532299c864
42 changed files with 6 additions and 6 deletions

15
server/api.http Normal file
View File

@@ -0,0 +1,15 @@
POST http://localhost:3000/auth/login
Content-Type: application/json
{
"username": "admin",
"password": "123456"
}
> {% client.global.set("auth_token", response.body.access_token); %}
### GET request with parameter
GET http://localhost:3000/users
Accept: application/json
Authorization: Bearer {{auth_token}}