---
title: "Discussion on \"Creating Routes and Handling Requests with Express\" | Hashnode"
description: "Discussion on \"Creating Routes and Handling Requests with Express\". In the previous article, you built a Node.js server using the built-in http module. It worked. But it wasn't pretty.\nEvery URL had to be handled with if/else. Every response header had to be set manua"
url: "https://hashnode.com/posts/creating-routes-and-handling-requests-with-express/6a00caf0e3eebc2e20b4864b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Creating Routes and Handling Requests with Express](https://kushagrablogs.hashnode.dev/creating-routes-and-handling-requests-with-express?utm_source=hashnode&utm_medium=feed)

In the previous article, you built a Node.js server using the built-in http module. It worked. But it wasn't pretty. Every URL had to be handled with if/else. Every response header had to be set manua

May 10 · 6 min read · kushagrablogs.hashnode.dev  
Read the article

-   [#routes](https://hashnode.com/tag/routes)
-   [#creating-routes-and-handling-requests-with-express](https://hashnode.com/tag/creating-routes-and-handling-requests-with-express)

## Written by

[Kushagra Trivedi](https://hashnode.com/@kushagratrvd)

@kushagratrvd

  
[View profile](https://hashnode.com/@kushagratrvd)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
