concept main.js in category node

appears as: main.js
Get Programming with Node.js

This is an excerpt from Manning's book Get Programming with Node.js.

Listing 3.5. Sample result from running main.js in terminal
{
  zipcode: "10016",
  state_abbr: "NY",
  latitude: "40.746180",
  longitude: "-73.97759",
  city: "New York",
  state: "New York"
}                        #1

Copy all the routes in main.js that pertain to the user (CRUD operations, login, and authentication), and move them into userRoutes.js, as shown in the next listing.