This commit is contained in:
Vyn 2025-06-11 09:50:52 +02:00
commit 61cbd57af1
168 changed files with 31208 additions and 0 deletions

15
server/create-user.sh Normal file
View file

@ -0,0 +1,15 @@
#!/bin/sh
. ./conf.env
BASE_URL=$1
EMAIL=$2
PASSWORD=`openssl rand -base64 16 | sed -e "s/=//g"`
echo $API_ADMIN_AUTHORIZATION
echo $1
echo $PASSWORD
curl -X POST $BASE_URL/signup \
-H 'Content-Type: application/json' \
-d "{\"email\": \"$EMAIL\", \"password\": \"$PASSWORD\", \"adminToken\": \"$API_ADMIN_AUTHORIZATION\"}"