Skip to content

Commit

Permalink
feat: update user using put method
Browse files Browse the repository at this point in the history
Signed-off-by: Husen <[email protected]>
  • Loading branch information
heyhusen committed May 13, 2024
1 parent 8be5d33 commit 0d0807e
Show file tree
Hide file tree
Showing 11 changed files with 679 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Playground",
"dockerComposeFile": "./docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"workspaceFolder": "/workspaces",
"overrideCommand": true,
"shutdownAction": "stopCompose",
"features": {
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
- playground

redis:
image: docker.io/library/redis:7-alpine
image: docker.io/library/redis:7.2.4-alpine
ports:
- '${REDIS_PORT:-6379}:6379'
volumes:
Expand Down
10 changes: 3 additions & 7 deletions backend/node/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
APP_NAME=Playground
APP_PORT=3000
APP_URL=http://localhost:3000

DB_HOST=127.0.0.1
DB_HOST=postgres
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
Expand All @@ -13,10 +14,5 @@ AWS_DEFAULT_REGION=ap-southeast-1
AWS_ACCESS_KEY_ID=miniosudo
AWS_SECRET_ACCESS_KEY=miniosudo

REDIS_HOST=127.0.0.1
REDIS_HOST=redis
REDIS_PORT=6379

JWT_ACCESS_SECRET=jwtaccesssecret
JWT_REFRESH_SECRET=jwtrefreshsecret
JWT_ISSUER=jwtaccessissuer
JWT_AUDIENCE=jwtaccessaudience
Loading

0 comments on commit 0d0807e

Please sign in to comment.