git clone https://github.com/turgayh/Armut.CaseStudy.git
cd Armut.CaseStudy
docker-compose up -d
Endpoint:
Method: GET
Type:
URL: http://localhost:5000/api/HealthCheck/auth
Endpoint:
Method: GET
Type:
URL: http://localhost:5000/api/HealthCheck
Chat messages management services
Endpoint:
Method: POST
Type: RAW
URL: http://localhost:5000/api/message/list-messages
Body:
{
"username":"test",
"checkUser":"test1"
}
send message by recevier userId
Endpoint:
Method: POST
Type: RAW
URL: http://localhost:5000/api/message/send-message
Body:
{
"senderUsername" : "test",
"receiveUsername" : "test1",
"message" : "backend test"
}
User information management and check user info
Endpoint:
Method: POST
Type: RAW
URL: http://localhost:5000/api/user/block-user
Body:
{
"Username":"test",
"BlockedUser":"test2"
}
Endpoint:
Method: POST
Type: RAW
URL: http://localhost:5000/api/user/login
Body:
{
"Username":"test",
"Password":"12345"
}
Singup with username, password, and name
Endpoint:
Method: POST
Type: RAW
URL: http://localhost:5000/api/user/signup
Body:
{
"username":"test",
"password":"12345"
}
Available Variables:
Key | Value | Type |
---|---|---|
host-http | http://localhost:{{port}}/api | |
port | 5000 | |
host-https | https://localhost:5001/api |