Advertisement · 728 × 90

Posts by Tech World Software School

Learn how to create an HTTP server with the Express library using the JavaScript programming language on the serverside, also known as Nodejs.

1 year ago 0 0 0 0
Run HTTP Server with ExpressJS
Run HTTP Server with ExpressJS Learn how to create an HTTP server with the Express library using the JavaScript programming language on the serverside, also known as Nodejs.

Run HTTP Server with ExpressJS

#expressjs

https://www.youtube.com/watch?v=bh3K__DJU3Y

1 year ago 1 0 1 0

Somebody has a question about NPM not being recognized. Make sure to install Node from the website nodejs dot org. It usually comes bundled with the NPM command as well.

Somebody else asks how to verify the library express was actually installed.

1 year ago 0 0 0 0

The lecture shows you how to install the express package from the Node Package Manager (NPM) registry.

You learn that third-party packages are installed in a directory called node_modules. Dependencies are specified in the manifest file called package followed by the extension json.

1 year ago 0 0 1 0

The lecture gives a brief overview of what Nodejs is.

Then you get introduced to the Express library.

After that, you learn how to generate an NPM project with the creation of a package dot json file.

1 year ago 0 0 1 0
Generate NPM Project and Install ExpressJS
Generate NPM Project and Install ExpressJS The lecture gives a brief overview of what Nodejs is. Then you get introduced to the Express library. After that, you learn how to generate an NPM project with the creation of a package dot json file. The lecture shows you how to install the express package from the Node Package Manager (NPM) registry. You learn that third-party packages are installed in a directory called node_modules

Generate NPM Project and Install ExpressJS

#expressjs

https://www.youtube.com/watch?v=UPwNPmRQK4M

1 year ago 1 0 1 0
Practice Solving Data Structures and Algorithms Problems Go over solving a Data Structures and Algorithms (DSA) problem for practice.

Join us to practice Leetcode problems together:
www.eventbrite.com/e/practice-s...
#LiveCoding #LearnToCode #100DaysOfCode #LeetcodeProblems #Algorithms #DataStructures #DSA #TechInterview

1 year ago 1 0 0 0
Redirecting...

Join us to practice some #Leetcode today:
www.facebook.com/share/15qKrR...
#LearnToCode #100DaysOfCode #DSA #DataStructures #Algorithms #JobInterviewPrep #TechInterview

1 year ago 2 0 0 0
Preview
Tech World Software School Welcome to Tech World Software School! Learn computer programming and software development. General programming, web development, mobile development Subscribe & Follow NBK Tech World, your gateway to...

Subscribe to our YouTube channel: www.youtube.com/@nbktechworld

1 year ago 1 0 0 0
Advertisement

The lecture also briefly shows how to send back a JSON response to the client.

1 year ago 0 0 0 0

You also learn how to send back HTML to the client.

You learn how to change the status code of the response.

The lesson also shows how to use the static files middleware so you don't have to manually define a route for every asset file that you might have.

1 year ago 0 0 1 0

You learn how to define endpoint routes and their handler functions.

You get exposed to the browser developer tools (DevTools) to monitor network requests so you can understand the request-response from the HTTP GET request made to the web server.

1 year ago 0 0 1 0

Learn how to build an HTTP web server in the Nodejs (Serverside Javascript) programming language with the ExpressJS library.

The lesson goes over generating an NPM project and installing express.

Then, you learn how to code a basic server running at a specific port on localhost.

1 year ago 0 0 1 0
Introduction to Express.js - Software School (2024-03-14)
Introduction to Express.js - Software School (2024-03-14) Learn how to build an HTTP web server in the Nodejs (Serverside Javascript) programming language with the ExpressJS library. The lesson goes over generating an NPM project and installing express. Then, you learn how to code a basic server running at a specific port on localhost. You learn how to define endpoint routes and their handler functions. You get exposed to the browser developer tools (DevTools) to monitor network requests so you can understand the request-response from the HTTP GET request made to the web server. You also learn how to send back HTML to the client. You learn how to change the status code of the response. The lesson also shows how to use the static files middleware so you don't have to manually define a route for every asset file that you might have. The lecture also briefly shows how to send back a JSON response to the client.

Introduction to Express.js - Software School (2024-03-14)

#expressjs

https://www.youtube.com/watch?v=4q5YxJGe284

1 year ago 0 0 1 0

Every time you click the next button, the current image index increments. However, it goes beyond the number of elements in the array of image URLs. So we have to reset that index back to 0 when you are seeing the last image and click next.

1 year ago 0 0 0 0

Learn how to use the remainder operator (percent sign, aka modulo) to go from the last image to the first image.

1 year ago 0 0 1 0
Advertisement
Cycling Through Images using the JavaScript Remainder Operator
Cycling Through Images using the JavaScript Remainder Operator Learn how to use the remainder operator (percent sign, aka modulo) to go from the last image to the first image. Every time you click the next button, the current image index increments

Cycling Through Images using the JavaScript Remainder Operator

#javascript

https://www.youtube.com/watch?v=z3z8ZzJY0oM

1 year ago 1 0 1 0
Preview
Get more from Tech World Software School on Patreon Web development lessons to help people become developers

Join us on Patreon: www.patreon.com/nbktechworld

1 year ago 0 0 0 0
Redirecting...

Follow our page on Facebook: www.facebook.com/nbktechworld

1 year ago 0 0 0 0

What other problems are you going to solve?

1 year ago 0 0 1 0

Yes, for security :)

1 year ago 0 0 0 0

In order to remember what image the user is seeing, you have to store its index in a variable. Then, every time you click the next button, that index is incremented and eventually you see the next image in the list.

1 year ago 0 0 0 0

In order to allow for multiple images to be browsed through as you click the next button, you have to know which image URL to use to display the image. Since the URLs are held in an array, you can take the next element every time you click next.

1 year ago 0 0 1 0
Advertisement

Learn how to keep track of the current image index using a JavaScript variable.

1 year ago 0 0 1 0
Keeping Track of Current Image Index with a JavaScript Variable
Keeping Track of Current Image Index with a JavaScript Variable Learn how to keep track of the current image index using a JavaScript variable. In order to allow for multiple images to be browsed through as you click the next button, you have to know which image URL to use to display the image

Keeping Track of Current Image Index with a JavaScript Variable

#javascript

https://www.youtube.com/watch?v=knSvpGpAGGU

1 year ago 0 0 1 0

What are you building?

1 year ago 0 0 1 0

Do you like cryptography?

1 year ago 0 0 0 0

What programming language do you use?

1 year ago 0 0 1 0

Congratulations!

1 year ago 1 0 0 0

Are you going to use it?

1 year ago 0 0 1 0