first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:16:43 +03:00
commit 6d95e27114
97 changed files with 15687 additions and 0 deletions

35
Register.txt Normal file
View File

@@ -0,0 +1,35 @@
curl -X 'POST' \
'http://127.0.0.1:8080/v1/auth/register' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"email": "beyhan@beyhan.dev",
"password": "1923btO**",
"username": "Beyhan Oğur"
}'
Response body
Download
{
"avatar": "",
"email": "beyhan@beyhan.dev",
"email_verified": false,
"message": "User created. Please verify your email.",
"roles": [
{
"id": 2,
"name": "user",
"description": "Default user role",
"permissions": [
{
"id": 1,
"name": "user:read",
"description": "Can read user data"
}
]
}
],
"user_id": "53bf4b05-7d83-48f5-8477-d878a1db67d9",
"username": "Beyhan Oğur",
"verification_token": "25b6ea0d5f7376881d5f57b11305122431e8967a13ce66888f2312b22bca48ef"
}