Sahilumraniya / NextRouter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NextRouter

Node.js Folder-Based Routing Project

This is a Node.js project that implements folder-based routing, inspired by Next.js. It allows you to organize your routes in a structured manner.

Table of Contents

  • [api] (#api folder)
  • index

About

Simply you have to create api folder in root directories and now you have to make folder inside that create index.js file that export handler funcation or you can make get, post request funcation and it server in url

Folder-Based Routing

older-based routing is a routing approach where the structure of your project's folders and files is used to define the routing of your application. This is commonly seen in frameworks like Next.js and Nuxt.js for React and Vue.js, respectively.

About


Languages

Language:JavaScript 100.0%