Getting-Started-With-NODE-JS Routing & Creating Auth.js & User.js We will do routing now to manage multiple requests Creating a folder name as "route" Secondly create a file named as auth.js in route folder You have to include the auth.js in your index.js Now for the API CONTROL we are Creating a folder name as "models" Secondly create a file named as user.js in models folder Attaching the picture of root hierarchy below: AUTH.JS INDEX.JS USER.JS