Open rachit-j opened 8 months ago
The server_name is the route53 name that comes from your request. It is the point which route53 DNS points to the server definition. From there, proxy_pass forwards all the information to the dedicated docker port. It is sort of like an adapter in which the request, or power, is forwarded to the connected device.
Taken from our lesson from the part I wrote
Taken from live deployment
Score: 0.9
Redirect
JWT token
Decoded Token
Code:
Score: 0.9
We need to authorize the .authenticated() endpoints because they have significant value in the fact that we do not want anyone to access them. Otherwise, we allow everyone access to the sites in which no authentication should be needed.
Score: 0.9
POJO: Plain old java object. Acts as a template so that instances can be created that use the same structure.
POJO in code, fetches data from database
POJO through postman testing: the response has similar structure with different data
Score: 0.95
Docker update script written:
Can also be viewed on my section of the deployment lesson.
We first pull down docker, pull the latest version, clean dependencies so they can reinstall if they are updated, and then reactivate the container.
Docker port checking command: docker ps
Score: 0.95
CSA Pop Quiz Jan 30
Final Score: 0.9 + 0.9 + 0.95 + 0.95 = 3.7 Questions: 2, 3, 4, 5