Tinder for dogs
openssl genrsa -out app.rsa 2048
openssl rsa -in app.rsa -pubout > app.rsa.pub
(Twice)
docker-compose build --no-cache
docker-compose up
Or
docker-compose up --build
signup
curl -v --insecure https://localhost:443/signup -H 'Content-Type: application/json' -d '{"email":"[email protected]", "password":"qwerty123"}'
login
curl -v --insecure https://localhost:443/login -H 'Content-Type: application/json' -d '{"email":"[email protected]", "password":"qwerty123"}'
psyna info
curl -v --insecure https://localhost:443/psyna-info -H 'Content-Type: application/json' -d '{"psynId":'1'}'
all info
curl -v --insecure https://localhost:443/get-all-info -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' -d ''
like psyna
curl -v --insecure https://localhost:443/like-psyna -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' -d '{"psynaId":1}'
psyna likes
curl -v --insecure https://localhost:443/get-psyna-likes -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' -d '{"psynaId":'1'}'
./build_android_app.sh
adb -d install bin/myapplication.apk