Topic

Development

Programming tutorials, web development, APIs, databases and software engineering practices.

All Development articles

Development

Static Files in Express JS

Express JS does not allow to serve static files likes images, videos etc. Static files are downloaded by clients from server. However, if we have to serve static files, we will have to enable middleware dedicated for this purpose. To do this, first of all we will create a folder or directory named p

·2 min
Development

Frontend Templating (Pug Engine) in Express JS

Express is written in JavaScript and JS supports multiple templating engines like Mustache, Handlebars, doT, EJS, Nunjucks, Underscore, Pug, ECT, Template7, jTemplates and some others. However, in this tutorial, we will be using Pug templating engine for making frontend of Express JS. We can use HTM

·7 min
Development

Express Middleware No.1 Easy Tutorial

Express Middleware comes between request and response. When a request is made, it is received by the server where middleware performs its tasks on the received request and then route handler sends the response which again passes through middleware functions and in the end reaches to the client. Thes

·3 min
Development

Express Router: No. 1 Easy static & dynamic routing tutorial

Express router helps in defining URL for web applications and APIs. It makes easier to create SEO friendly URLs. What is express router? When we are dealing with complex applications which needs a big list of routes, it becomes difficult to handle everything in single index.js file. To avoid this, w

·4 min
Development

HTTP Requests in Express JS

HTTP requests are binary information packets that a computer or client sends to another computer or server to communicate. What is routing in Express JS? Routing is basically defined as the process of selecting a path for traffic or request in a network or in a web framework. In Express JS, we can a

·3 min
Development

Hello World 1st Best Example for working of Express JS

Hello World Example in Express JS In our package.json file, we have specified main index.js. So, to start developing our hello world in Express JS, create file index.js and type the following code. In the above code, lines starting with // mentions comments for each line of code to explain what a li

·3 min
Development

Easy Node JS Environment Settings for Express Framework

To proceed towards web development using Express JS, you will follow a few steps to setup the environment on your computer (in case of localhost) or server. The steps are given below: How to download & install Node JS & Node Package Manager (NPM)? Node JS and Node Package Manager (NPM) suppo

·4 min
Development

Express JS – A Brief Guide & Introduction

We have written these Express JS tutorials to help you in learning from easily the core concepts from each Express JS tutorial. What is Express JS framework? Express is fast, minimal, simple and flexible web development framework written in JavaScript on Node.js platform. It is open source, availabl

·3 min

Other topics

Newsletter

Get smarter about security

Practical guides, tooling notes and the developments actually worth your attention — delivered when there is something worth saying.

No spam. Unsubscribe in one click.