File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 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+
2352421. Run :
236243 ` ` ` sh
237- docker compose up -d
244+ docker compose up -d or docker pull abdulwaisa/booklibraryapi
238245 ` ` `
2392462. Visit :
240247 - API : ` https://localhost:9443/swagger`
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+
255264The 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
267276You 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+
You can’t perform that action at this time.
0 commit comments