Week 4_Web Development node js
Week 4_Web Development node js
Name:
Mobile:
In this video he tells making small improvement ,making a small small improvment will
make a big improvement in future.In this video clear also talked about selft-
compassion
That’s we should not compare us or judge our mistake instead we should improve frome
that by not making the mistake again . In my thought he very correct i think like him
avery defeat or every fail is our motivation to win and its our steps to the success
Atomic habits
Technical Workouts
Complete the basic tutorial on the backend Framework you have chosen. For example, if your
domain is Node.js Express, complete a basic Node.js and Express.js Framework tutorial.
2. Have a clear idea about View Engine and its working. Complete at least 3 sample
works using view engine concepts and bootstrap. For example, list dummy items/ cards
using a loop or display table items etc.
3. Design a login and a home page, the Home page should not be blank. Use bootstrap &
View engine.
4. Have a clear idea about Session and Cookies.
5. Complete server-side development for the login page.
a. Login page should accept the username and password from the user.
b. The username and password should be validated on the server side with a
predefined value.
c. If correct, give access to the home page.
d. If incorrect, display an incorrect username or password message on the login
page.
e. The home page should contain a signout button. On click signout button -
redirect to the login page.
Note: Session handling should work properly. Signout shouldn't happen unless
the user presses the signout button. Also, once the user has signed out, the home
page shouldn't be loaded on pressing the back button.
6. Have a clear idea about HTTP methods.
I have studied node.js and express.js through debug media,daily tuition and code evolution
I was not able to understand for the first time i was not getting the method of coding and i
was stuck for so many day and my friend helped me out of it i got the basic concepts of
node.js and express.js
Write a short description about this task
I have gone through view engine and used ejs its like a html alternative to achieve dynamic
changes in the webpage and to render things according to the user its is easy to code
because it use the exact same syntax of html .there is an extension called pug. It had a
whole different syntax
I have used the view engine and made the login page it was hard to make by watching only
video i was stuck for a so many days and my friend helped me to make it and he made
me understand the concepts very easily and i have code it in one day and in simple way
And also thought me some structure of coding
Session and cookies is used to save user information cookies is used to manage user-
specific and session is used to mange user-state.cookies are small text file and thats
stores in the users system and session store the user information on the server side.for
cookies cookie-parser is used and for session we use express-session.
It mainly concentrates in the user experience and also for a personalized website
I designed my login page very minimally used css a bit and made it beautiful. I have set
predefined credentials and it check the credentials entered by the user and if it is correct the
user will go to the homepage. If the email is not correct it will show the invalid email and if
the password is not correct it will show wrong password
The HTTP methods are used to create , read , update and delete it’s also called crud it
define the action to be performed on a given resource in a web application.some of the HTTP
methods that are used commonly is get , put , post , delete , head and also connect option
trace patch.
I have used the common methods in my login page
Miscellaneous Workouts
1. Practice typing for at least one hour each day. Finish as many chapters as possible as
you can. Don’t spend more than an hour each day.
2. Prepare a topic for the tech seminar. Record and upload it on youtube as an unlisted
video.
3. Conduct a Feedback session by the end of this week.
4. Prepare your progress video for the last week. Record and upload it on youtube as an
unlisted video.
I have not practised well in this week. But i use to type in by the standard method whenvere
i need to type its also improving my typing speed some finger are not going in my way
gradually i have to make it and should get a high WPM .it feel very gud when we type fast
rather than typin slowly
From this task I learned the history of VR that’s virtual reality and i have gone deep into
The Virtual Reality technology I have covered the evolution of the virtual reality and the
present state of the virtual reality technology and also covered about the future on the
Virtual Reality technology
Seminar Video
This week was hard for me and for some of my friends were saying it was easy i was not
getting the idea of node.js and i was stuck this we was thef and i took my first extension in
this week because of some personal issues and i was not feeling good.some days of this
week was very bad and i can’t study i have limited knowledge on theory side