Verify a username-password combination. The password is specified as password
POST parameter.
POST /user/<username>/authenticate
curl -X POST localhost:8000/user/user1/authenticate -d password=pwd1
Save a new key-value based setting.
PUT /user/<user_id>/setting
curl -X PUT localhost:8000/user/1/setting -d key=test -d value=val
Retrieve the value of a setting.
GET /user/<user_id>/setting/<key>
curl localhost:8000/user/1/setting/test
Start postgres database server:
docker run --name schani-userinfo-postgres -e POSTGRES_USER=schani_userinfo -e POSTGRES_PASSWORD=password -e POSTGRES_DB=schani_userinfo -p 5432:5432 -d postgres