Skip to content

Commit

Permalink
updated the user-service and auth-service README.me
Browse files Browse the repository at this point in the history
  • Loading branch information
Mojtaba Toof committed Jun 25, 2024
1 parent b18f956 commit 100ed3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Backend/auth_service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The API runs on port 8000 and exposed to 8001.

After running the makefile, you can access the API using the following url:

- `http://127.0.0.1:8000/auth/api/token/`
- `http://auth-service:8000/auth/api/token/`

You should send a JSON object with the following fields:

Expand Down
8 changes: 4 additions & 4 deletions Backend/user_management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ The API runs inside a virtual environment. The virtual environment is created in

The API runs on port 8000 and exposed to 8000.

## Tutorial to use the auth_service
## Tutorial to use the user_service

After running the makefile, you can access the API using the following url:

- `http://127.0.0.1:8000/user/register/` "create user record using POST method"
- `http://127.0.0.1:8000/user/` "List users records using GET method"
- `http://127.0.0.1:8000/user/<int:pk>/` "without angel brackets" "retrieve, update and delete user record using GET, PUT and DELETE methods respectively"
- `http://user-service:8001/user/register/` "create user record using POST method"
- `http://user-service:8001/user/` "List users records using GET method"
- `http://user-service:8001/user/<int:pk>/` "without angel brackets" "retrieve, update and delete user record using GET, PUT and DELETE methods respectively"

You should send a JSON object with the following fields:

Expand Down

0 comments on commit 100ed3e

Please sign in to comment.