Creating a minimal and flexible Node.js web application with Express

Anjula Shanaka
Feb 27 · 2 min read

I started learning Express recently and I got amazed by realizing that how easy to get started with Express. If you are working with JavaScript mostly this will be super easy to learn. Especially if you are a frontend developer and wanted to get hands-on backend technologies this stack is perfect. So let’s dive into the article.

Express.js, or simply Express, is a back end web application framework for Node.js, released as free and open-source software under the MIT License. It is designed for building web applications and APIs. It has been called the de facto standard server framework for Node.js.

Express provides a thin layer of fundamental web application features, without obscuring Node.js features that you know and love.

With a myriad of HTTP utility methods and middleware at your disposal, creating a robust API is quick and easy.

Before starting the installation make sure to install Node.js. Create your directory and initiate your package.json file.


npm install express

Hello world!:

Create your app.jsfile just like in the screenshot.


Run the below command to start the server.

node app.js


If you followed the above steps congratulations! you created your first express app. Open your browser and visit http://localhost:3000 you’ll see “Hello World!”

Yeah, it’s that easy to create an app with Express. There are many popular frameworks that base on Express. Make sure to have a look at that one also.

This was about getting started with Express. Please make sure to go through the full documentation to get more. See you guys on the next one. Until then stay safe! ✌️


[1]. Express.[2021] Docs [Online]. Available at: [Accessed 27 February 2021]

Weekly Webtips

Explore the world of web technologies through a series of tutorials

By Weekly Webtips

Get the latest news on the world of web technologies with a series of tutorial Take a look.

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

Weekly Webtips

Explore the world of web technologies through a series of tutorials

Anjula Shanaka

Written by

Intern Software Engineer at Rootcode Labs

Weekly Webtips

Explore the world of web technologies through a series of tutorials

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store