Skip to content

Commit 7957f46

Browse files
Update README.md
1 parent 8ed27ae commit 7957f46

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,16 @@ MIT
232232
## How to Check if the Application is Running
233233

234234
### Locally (Docker)
235+
236+
<img width="1546" height="348" alt="image" src="https://github.com/user-attachments/assets/e2e4b0e7-d022-4086-9942-535eb47569ac" />
237+
238+
<img width="1466" height="326" alt="image" src="https://github.com/user-attachments/assets/a330d555-b852-4fef-a88e-f02266e83246" />
239+
<img width="1800" height="865" alt="image" src="https://github.com/user-attachments/assets/9ecae788-dcb9-4698-b9c6-28330866e221" />
240+
241+
235242
1. Run:
236243
```sh
237-
docker compose up -d
244+
docker compose up -d or docker pull abdulwaisa/booklibraryapi
238245
```
239246
2. Visit:
240247
- API: `https://localhost:9443/swagger`
@@ -252,6 +259,8 @@ MIT
252259

253260
## Testing
254261

262+
<img width="971" height="860" alt="image" src="https://github.com/user-attachments/assets/70dcf8fb-92e9-44fd-bd00-9a62cee1fe59" />
263+
255264
The project includes comprehensive unit and integration tests:
256265

257266
- **Unit Tests:** Located in `tests/BookLibraryAPI.UnitTests`. Run with:
@@ -265,3 +274,16 @@ The project includes comprehensive unit and integration tests:
265274
- **CI/CD:** All tests are automatically run in GitHub Actions on every push and pull request to `main`. Test results are uploaded as artifacts.
266275

267276
You can view test results in the GitHub Actions tab or by running the above commands locally.
277+
278+
## 🧪 Test User Accounts
279+
280+
You can use the following predefined users to log in during development/testing:
281+
282+
| Role | Username | Password |
283+
|------------|------------|------------|
284+
| Admin | `admin` | `admin123` |
285+
| Moderator | `moderator`| `mod123` |
286+
| User | `user` | `user123` |
287+
288+
🔐 **Note:** Passwords are hashed using BCrypt at runtime. The plain-text versions above are only for testing purposes.
289+

0 commit comments

Comments
 (0)