TASK REPORT BY SAJID
3 / 3 / 2024
TASK 1
OSI
This task about the osi architecture.
which tells about the flow of data between systems.
Levels/layers of osi model.
handshakes and routers.
GITHUB LINK :
https://github.com/MPSAJID/Marveltasks/tree/main/LVL2/TASK1
TASK 2
SERVERLESS
This demonstrates how to make a simple HTTP API with Node.js running on AWS Lambda and API Gateway using the Serverless Framework.
steps:
1.install Serverless
2.create aws account and IAM user in it
3.copy the keys and enter them in serverless configuration in terminal
4.create a template and deploy
5.using the api end point provided we can access the function
GITHUB LINK :
https://github.com/MPSAJID/Marveltasks/tree/main/LVL2/TASK2
TASK 3
SOCKETS
In this task using node js express mongodb and socket.io node package a simple chat
website is made to send and recieve messages between conected users without
having to refresh the page .
After the bacekend server is running we can go to http://localhost:3001/ and connect
to the chat page and start sending messsages.
GITHUB LINK : https://github.com/MPSAJID/Marveltasks/tree/main/LVL2/TASK3
TASK 4
RESOURCE LIBRARY
A resource page where we can look into the available books / resources and browse
them individually . it is made using express nodejs and ejs templating with storing it
in mongodb .
GITHUB LINK :
https://github.com/MPSAJID/Marveltasks/tree/main/LVL2/TASK4
TASK 5
Docker
Docker is very useful to containerize the code and push it to the dockerhub in the
form of images so that anyone can pull the image and run the container without worrying about local dependencies.
Using github actions we can deploy workflow and specify it in the yaml file .
everytime a change is made to the code it automatically pushes to the dockerhub
by this we can automate the creation of Docker containers every time a push to
a branch is made.
GITHUB LINK :
https://github.com/MPSAJID/Marveltasks/tree/main/LVL2/TASK5