Skip to content

Commit 8ef5b26

Browse files
authored
fix url broken for all images
1 parent dd9f9ac commit 8ef5b26

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Fig 1.0: Installing Dependencies
3030

3131
`npm run dev`
3232

33-
![npm run dev(https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/npm_run_dev.png)
33+
![npm run dev](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/npm_run_dev.png)
3434

3535
Fig 2.0: Dev Server Running
3636

@@ -75,7 +75,7 @@ const url_regex = new RegExp(/([a-z]+\:\/+)([^\/\s]+)([a-z0-9\-@\^=%&;\/~\+]*
7575

7676
It failed as expected. The url validator only checks for a valid url with condition; publicly accessible and image file type. While the image filter checks if this is a supported format.
7777

78-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/image_processed_status_422.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/image_processed_status_422.png)
78+
![image_processed_status_422](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/image_processed_status_422.png)
7979

8080
Fig 3.0: Status Code 422
8181

@@ -98,7 +98,7 @@ try {
9898

9999
It passed the testing as expected
100100

101-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/image_processd_status_200.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/image_processd_status_200.png)
101+
![image_processd_status_200](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/image_processd_status_200.png)
102102

103103
Fig 4.0: Status Code 200
104104

@@ -112,7 +112,7 @@ Fig 4.0: Status Code 200
112112
npm run build
113113
```
114114

115-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/npm_run_build.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/npm_run_build.png)
115+
![npm_run_build](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/npm_run_build.png)
116116

117117
Fig 5.0: Build the Application
118118

@@ -124,7 +124,7 @@ Fig 5.0: Build the Application
124124
eb init --platform node.js --region us-east-1
125125
```
126126

127-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/eb_init.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/eb_init.png)
127+
![Reb_init](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/eb_init.png)
128128

129129
Fig 6.0: Initialised ElasticBeanstalk
130130

@@ -136,23 +136,23 @@ Fig 6.0: Initialised ElasticBeanstalk
136136
eb create --sample full-stack
137137
```
138138

139-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/eb_create.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/eb_create.png)
139+
![eb_create](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/eb_create.png)
140140

141141
Fig 7.1: Create ElasticBeanstalk
142142

143143
<br></br>
144144

145145
- ElasticBeanstalk Dashboard
146146

147-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/ElasticBeanstalk_created.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/ElasticBeanstalk_created.png)
147+
![ElasticBeanstalk_created](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/ElasticBeanstalk_created.png)
148148

149149
Fig 7.2: ElasticBeanstalk Dashboard
150150

151151
<br></br>
152152

153153
- Testing Full-Stack Endpoint
154154

155-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/elasticbeanstalk_endpoint.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/elasticbeanstalk_endpoint.png)
155+
![elasticbeanstalk_endpoint](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/elasticbeanstalk_endpoint.png)
156156

157157
Fig 8.0: Full-Stack Endpoint
158158

@@ -166,39 +166,40 @@ eb deploy
166166

167167
Fig 8.0: ElasticBaeanstalk Deployment
168168

169-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/eb_deploy_app.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/eb_deploy_app.png)
169+
![eb_deploy_app](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/eb_deploy_app.png)
170170

171171
Fig 9.1: ElasticBeanstalk Deployment
172172

173-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/app_deployed.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/app_deployed.png)
173+
![app_deployed](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/app_deployed.png)
174174

175175
Fig 9.2: ElasticBeanstalk Deployment - Dashboard
176176

177177
- Response to Public URL
178178

179-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/endpoint_downloading_link.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/endpoint_downloading_link.png)
179+
![endpoint_downloading_link](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/endpoint_downloading_link.png)
180180

181181
Fig 10.1: Filteredimeage download the public image
182182

183183
<br></br>
184184

185185
- filteredimage Endpoint
186186

187-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/endpoint_elasticbeanstalk_download_image.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/endpoint_elasticbeanstalk_download_image.png)
187+
![endpoint_elasticbeanstalk_download_image](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/endpoint_elasticbeanstalk_download_image.png)
188188

189189
Fig 10.2: filteredimage
190190

191-
[http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com/filteredimage?image_url=https://bs-uploads.toptal.io/blackfish-uploads/blog/post/seo/og_image_file/og_image/15921/secure-rest-api-in-nodejs-18f43b3033c239da5d2525cfd9fdc98f.png](http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com/filteredimage?image_url=https://bs-uploads.toptal.io/blackfish-uploads/blog/post/seo/og_image_file/og_image/15921/secure-rest-api-in-nodejs-18f43b3033c239da5d2525cfd9fdc98f.png)
191+
![filteredimage](http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com/filteredimage?image_url=https://bs-uploads.toptal.io/blackfish-uploads/blog/post/seo/og_image_file/og_image/15921/secure-rest-api-in-nodejs-18f43b3033c239da5d2525cfd9fdc98f.png)
192192

193-
![README%20md%20a7c97124b5464973a7e6001c60fa892c/cat.png](README%20md%20a7c97124b5464973a7e6001c60fa892c/cat.png)
193+
![cat](https://github.com/eedygreen/Full-Stack-Apps-in-AWS/blob/dev/Export-7f04e737-f879-4b4f-9743-f15df834b139/README%20md%20a7c97124b5464973a7e6001c60fa892c/cat.png)
194194

195195
Fig 11.1: Cat
196196

197-
[http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com/filteredimage?image_url=https://upload.wikimedia.org/wikipedia/commons/b/bd/Golden_tabby_and_white_kitten_n01.jpg](http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com/filteredimage?image_url=https://upload.wikimedia.org/wikipedia/commons/b/bd/Golden_tabby_and_white_kitten_n01.jpg)
197+
![upload.wikimedia.org/wikipedia/commons/b/bd/Golden_tabby_and_white_kitten_n01](http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com/filteredimage?image_url=https://upload.wikimedia.org/wikipedia/commons/b/bd/Golden_tabby_and_white_kitten_n01.jpg)
198198

199199
### The ElasticBeanstalk Public URL
200200

201-
[http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com](http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com/filteredimage?image_url=https://upload.wikimedia.org/wikipedia/commons/b/bd/Golden_tabby_and_white_kitten_n01.jpg)
201+
http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com
202+
http://full-stack.eba-3tfrxr3e.us-east-1.elasticbeanstalk.com/filteredimage?image_url=https://upload.wikimedia.org/wikipedia/commons/b/bd/Golden_tabby_and_white_kitten_n01.jpg
202203

203204
### Problems Encounter and Solution
204205

0 commit comments

Comments
 (0)