A Beginner's introduction to back-end development

Ifeanyi - Jun 29 - - Dev Community

Back-end development, unlike front-end development that deals with the interactive part of the web application, deals with building and maintaining the mechanism of data storage and security of the web application. Back-end technologies like node, Django and Laravel are used to design the back-end aspect in addition to data storage programmes like MongoDB and postgresql.

Attempting a beginner's challenge in the back-end development could be a bit challenging since there is no interaction with the browser.

Below is a challenge that I engaged in as a beginner in nodejs.

Challenge
Attempting to design a real time chat application using nodejs and sockets.io. sockets.io is a framework that uses a bidirectional architecture to communicate between server and client.

Step 1
The first step was to create an .html file that contains the input type form of the messenger's name and the message. While inside the script tag a socket instance is created to send message to the Express server, and also listen for incoming events.

Step 2
In the .JS file, we have created the express app and served the HTML to the server. A socket instance was created to listen to any incoming event and transmits such events to the .html.

In order to continue to practice and improve my back-end skill, I have enrolled in the HNG internship programme. It offers practical exercises and mentorship to beginners in the tech industry. To get the benefit that the internship has to offer sign up via this link https://hng.tech/internship. To get exclusive content that the programme has to offer you can also sign up to the premium version via https://hng.tech/premium.

. .