Use the attached code to make a pdf file using the appropriate files for each objectives. ONLY A PDF the code has already been made. The pdf needs various screenshots.These screenshots are listed in each objectives and require you to use various systems such as docker,and postman.
HW5
Start Assignment
Due Oct 11 by 11:59pm
Points 50
Submitting a file upload
File Types doc and docx
Available Oct 5 at 7pm – Oct 12 at 11:59pm
This week we discussed Docker Containers with NodeJS
This assignment is practice how to create and and run your Nodejs app and API End Points with a Docker Container
Accept the GitHub Classroom invite to create the repository for HW5 as done in previous assignments:
https://classroom.github.com/a/zAelphFW
(https://classroom.github.com/a/zAelphFW)
Copy your code from your HW3 assignment and publish it to this new repo
Objective 1: Install Docker (10 points)
Download and install docker. Show evidence that you have it running https://www.docker.com/products/docker-desktop/
(https://www.docker.com/products/docker-desktop/)
Objective 2: Dockerizing a Node.js web app
Follow and document your steps shown in this tutorial: https://nodejs.org/en/docs/guides/nodejs-docker-webapp (https://nodejs.org/en/docs/guides/nodejs-docker-webapp)
Objective 3: Create, build and run Docker file for the Student Registration website (20 points)
Create/run Docker file for your Student Server and map the 5678 port to 8080
Show the log of node running inside your container
Connect/exec into your container and show some of the json files in the students directory
Objective 4: Create, build and run Docker file for the Student API Sample (20 points)
Run and show via screenshots the various api endpoints using Postman using the docker version of the API and you need to show it connecting to port 8080. You should not be
running node on your terminal. You should be running the docker container.
POST, GET Search student, GET list students, PUT, DELETE (2 points each)
Run and show via screenshots the various web screens from the app using the docker version of the API. (2 points each)
Add, Update, Delete, Search student, List Students (2 points each)
Show screenshots and details for each of these. No description – no points
Submission: Create and submit a word doc with your name, student id, Git username, Git repository, date/time and show/describe step by step evidence with screenshots for
each of the steps below. Don’t give me just a series of screenshots with no descriptions – you will lose points. Make sure you are descriptive with each step and be complete with your
work. Points will be deducted as of this assignment going forward.
Your work must be original – hence show your name and student# on the web app. Any cheating or work that is not original will be an automatic 0 and will be grounds for dismissal from the
class. See terms in the syllabus.
No Late Submissions. Late submissions will receive severe penalties and not accepted after a certain point. The assignment will still be required to be done as a pre-req for the next
assignment. Budget your time appropriately and don’t wait until the last minute. Do not wait to the last minute to do this. If you can’t get the work done on time or you keep consistently not
getting the work done on time or you wait until the last minute to do the assignments – I strongly encourage you to re-evaluate being in this class.
Don’t hesitate to reach out to me or the TA if you have any questions.
HW5 Rubric
Criteria
Install Docker.
Screenshot required- Objective1
Create/run Docker file for your Student Server and map the 5678 port to 8080
Screenshot required – Objective 3
Show the log of node running inside your container
Objective 3 – Screenshot required
Connect/exec into your container and show some of the json files in the students directory
Objective 3 – Screenshot required
Run various api endpoints using Postman using the docker version. POST, GET Search student, GET list students, PUT, DELETE (2 points each)
Objective 4- Screenshot required for each function. Also, No description – no points
Run various web screens from the app using the docker version of the API.Add, Update, Delete, Search student, List Students (2 points each)
Objective 4- Screenshot required for each function. Also, No description – no points
Ratings
Pts
10 pts
Full Marks
0 pts
No Marks
10 pts
Full Marks
0 pts
No Marks
5 pts
Full Marks
0 pts
No Marks
5 pts
Full Marks
0 pts
No Marks
10 pts
Full Marks
0 pts
No Marks
10 pts
Full Marks
0 pts
No Marks
10 pts
10 pts
5 pts
5 pts
10 pts
10 pts
Total Points: 50