- /user - takes 1 parameter that is the username as given by user input in client side
- /repos - takes 3 paramters: userid, page, per_page and leverages github api's pagination to return results
Since this is for non-production purposes, cors rules are lenient PORT can be configured as a variable in the file
The server is in a standalone file, ensure that you hve node.js installed and then run server using
- node server.js