DEV Community

Ifeanyi
Ifeanyi

Posted on

A Beginner's introduction to back-end development

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.

Top comments (1)

Collapse
 
sloan profile image
Sloan the DEV Moderator

Hey there!

While we appreciate you sharing posts here, please see DEV's Content Policy available in our Terms and be careful not to share content that is too promotional. The terms state:

Users must make a good-faith effort to share content that is on-topic, of high-quality, and is not designed primarily for the purposes of promotion or creating backlinks.

Going forward, be careful to avoid sharing articles that are too promotional in nature. While it's generally okay to promote your product, business, personal brand, etc., just make sure that the posts you share have value beyond promotion.

If promotion is your primary goal, then consider signing up for Pro Tools which gives you access to:

  • Billboards for advertising,
  • Analytics to see advanced stats on your posts
  • And more!

Hope you understand our reason for limiting promotional content and that you continue to enjoy DEV!