Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vonderklaas/node.js-routing

Example of Node.js routing with 4 pages, was very proud when I finally did it
https://github.com/vonderklaas/node.js-routing

nodejs routing

Last synced: about 2 months ago
JSON representation

Example of Node.js routing with 4 pages, was very proud when I finally did it

Awesome Lists containing this project

README

        

change the URL to switch between the pages, for example:

1. http://127.0.0.1:3000/api/people

2. http://127.0.0.1:3000/contact

3. http://127.0.0.1:3000/about

if page does not exist you get a 404