-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Organise env variables and authorization (#60)
* User: Centralize env variables * Question: Centralize env variables * Match: Centralize env variables * Precalculate DB_URI in services * Rename match broker * Decouple match authorization Let's pass the JWT_SECRET to the match service. This means only the user service will issue authorization tokens, but the service can verify the claims without depending on the user service. * Add question service RBAC Ensure that the creation, updating, and deletion of questions can only be done by admins. * Match: Replace Joi with Zod
- Loading branch information
1 parent
bc65ef7
commit 6bf6136
Showing
38 changed files
with
600 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ services: | |
ports: | ||
- 27019:27017 | ||
|
||
match-broker: | ||
broker: | ||
ports: | ||
- 5672:5672 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.