Skip to content

Commit f7875b9

Browse files
authored
Update README.md
1 parent 3e8096e commit f7875b9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Run `npm install` in the root directory to install all dependencies for the `cli
1818
The schemas for the database are documented in the directory `server/models/schema`.
1919
A class diagram for the schema definition is shown below:
2020

21-
![Class Diagram](class-diagram.png)
21+
![Class Diagram](new-class-diagram.png)
2222

2323
## API Routes
2424

@@ -132,6 +132,15 @@ A class diagram for the schema definition is shown below:
132132
| /updateGamerInfo | PATCH | Updates gamer information |
133133
| /getLeaderboard | GET | Gets gamer leaderboard |
134134

135+
### `/star`
136+
137+
| Endpoint | Method | Description |
138+
| ----------- | ------- | ----------------------------- |
139+
| /getStars | GET | Get a user's stars |
140+
| /addStar | POST | Add a star to a question |
141+
| /removeStar | DELETE | Remove a star from a question |
142+
143+
135144
## Running Stryker Mutation Testing
136145

137146
Mutation testing helps you measure the effectiveness of your tests by introducing small changes (mutations) to your code and checking if your tests catch them. To run mutation testing with Stryker, use the following command in `server/`:

0 commit comments

Comments
 (0)