Skip to content

Commit

Permalink
Merge pull request #486 from ELEVATE-Project/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
rakeshSgr authored Apr 8, 2024
2 parents fb2767c + 7b7a070 commit a2f5cf2
Show file tree
Hide file tree
Showing 52 changed files with 3,115 additions and 202 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16
FROM node:20

#Set working directory
WORKDIR /var/src/
Expand Down
15 changes: 15 additions & 0 deletions src/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,20 @@ EVENT_ENABLE_ORG_EVENTS=true
#Generic Email template for new users
GENERIC_INVITATION_EMAIL_TEMPLATE_CODE=generic_invite

# Allowed host by CORS
ALLOWED_HOST = "http://examplDomain.com"

# Downloadabale url exipres after
DOWNLOAD_URL_EXPIRATION_DURATION = 120000

#database url
DATABASE_URL=postgres://postgres:postgres@localhost:5432/elevate-user

#allowed idle time
ALLOWED_IDLE_TIME=300000

# Expiry time for the signed urls
SIGNED_URL_EXPIRY_IN_MILLISECONDS = 120000

# Allowed active sessions
ALLOWED_ACTIVE_SESSIONS = 5
47 changes: 47 additions & 0 deletions src/api-doc/MentorED-Users.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,53 @@
}
]
},

{
"name": "Change Password",
"request": {
"method": "POST",
"header": [
{
"key": "X-auth-token",
"value": "bearer {{token}}",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "oldPassword",
"value": "password",
"type": "text"
},
{
"key": "newPassword",
"value": "Password@123",
"type": "text"
}
]
},
"url": {
"raw": "{{UserDevBaseUrl}}user/v1/account/changePassword",
"host": ["{{UserDevBaseUrl}}user"],
"path": ["v1", "account", "changePassword"],
"query": [
{
"key": "oldPassword",
"value": "password",
"disabled": true
},
{
"key": "newPassword",
"value": "Password@123",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "User",
"item": [
Expand Down
Loading

0 comments on commit a2f5cf2

Please sign in to comment.