---
title: "Discussion on \"How to separate  your Routes to unclutter  the main entry point file of your project.\" | Hashnode"
description: "Discussion on \"How to separate  your Routes to unclutter  the main entry point file of your project.\". For this, we will need two files named \"index.js\" \"homeRoute.route.js\".  \nIndex.js will be our app entry point and homeRoute.route.js is where we will be keeping our /Home Route endpoints.\nalso for this we will be using the newly introduced import sy..."
url: "https://hashnode.com/posts/how-to-separate-your-routes-to-unclutter-the-main-entry-point-file-of-your-project/658e5695784cf94881b46e77"
---

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

Discussion

# [How to separate your Routes to unclutter the main entry point file of your project.](https://vorpalv2.hashnode.dev/how-to-separate-your-routes-to-unclutter-the-main-entry-point-file-of-your-project?utm_source=hashnode&utm_medium=feed)

For this, we will need two files named "index.js" "homeRoute.route.js". Index.js will be our app entry point and homeRoute.route.js is where we will be keeping our /Home Route endpoints. also for this we will be using the newly introduced import sy...

Dec 29, 2023 · 2 min read · vorpalv2.hashnode.dev  
Read the article

-   [#express](https://hashnode.com/tag/express)
-   [#routing](https://hashnode.com/tag/routing)
-   [#expressroute](https://hashnode.com/tag/expressroute)

## Written by

[Aakash](https://hashnode.com/@Vorpalv2)

@Vorpalv2 · New Delhi

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

Web and IoT Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
