Skip to content

Commit

Permalink
Merge pull request #55 from JohnChia123/main
Browse files Browse the repository at this point in the history
Create API for question-service and user-service
  • Loading branch information
JohnChia123 authored Oct 30, 2024
2 parents 97e6462 + 275c822 commit 410a7ab
Show file tree
Hide file tree
Showing 12 changed files with 1,655 additions and 71 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ The question microservice exposes the following API endpoints:
- ```questions/delete/[Question ID]``` - Deletes a question from the database by ID number.
- ```questions/update/[Question ID]``` - Updates a question from the database by ID number.
- ```questions/patch/[Question ID]``` - Patches a question from the database by ID number.
- `questions/byObjectId/[Question ObjectId]` - Returns a single question by its MongoDB ObjectId.
- `questions/batch` - Accepts a POST request with a JSON array of ObjectIds and returns multiple questions by their IDs.

#### Matching Service
The matching microservice exposes the following API endpoint (via a WebSocket connection):
Expand Down
Loading

0 comments on commit 410a7ab

Please sign in to comment.