Skip to content

Commit d82d5fc

Browse files
Update README.md
1 parent 6d57e25 commit d82d5fc

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,36 @@ Release Date: 30/11/2023
110110
3. EMAIL_RECEIVER
111111
- Substitute the initial variable with your Gmail address, the second one with the password generated in the initial step, and choose an email recipient.
112112

113-
### Test your agent using Swagger UI
113+
### Test your server using Swagger UI
114114
![image](https://github.com/MKarapiperakis/node-app/assets/80547372/ed2bd1fe-12bc-461a-85c8-6dd43829d385)
115115
![image](https://github.com/MKarapiperakis/node-app/assets/80547372/61f43006-cdcb-4ef6-9e36-3b0be705cbbd)
116116

117117
### Check your Emails!
118118
![image](https://github.com/MKarapiperakis/node-app/assets/80547372/77927613-eb2c-4d9d-a030-faa494af80a6)
119119

120120

121+
## 1.0.3
122+
Release Date: 11/12/2023
123+
124+
### New Features
125+
126+
## Adding Basic Authentication for Enhanced Security
127+
With this release, users have the option to implement Basic Authentication to enhance the security of their API requests.
128+
129+
### Prerequisites
130+
131+
1. **Environment Variables:**
132+
- Create a new or modify the existing `.env` file in the root of your project.
133+
- Copy the content from `.env.sample` into `.env`. One additional environment variable has been added with name BASIC_AUTH. It is a based 64 encoded value:
134+
BASIC_AUTH='bm9kZTphcHA=' --> node:app (username:password)
135+
- Use this username and password in swagger UI
136+
137+
138+
![image](https://github.com/MKarapiperakis/node-app/assets/80547372/6fa88316-aef9-4b76-a312-fc2328f00b4b)
139+
140+
### Test your server using Swagger UI
121141

142+
![image](https://github.com/MKarapiperakis/node-app/assets/80547372/4c4943c0-94f6-41e7-b978-52039ac82c66)
122143

123144

124145

0 commit comments

Comments
 (0)