UNPKG

northwind-rest-api

Version:

Local REST API Exposing Northwind Database.

16 lines (15 loc) 1.08 kB
function displayHelp() { console.log("This is a local REST API for some of Northwind data."); console.log("Northwind products can be accessed at: http://localhost:3030/api/products/"); console.log("Northwind employees can be accessed at: http://localhost:3030/api/employees/"); console.log("Northwind suppliers can be accessed at: http://localhost:3030/api/suppliers/"); console.log("Northwind categories can be accessed at: http://localhost:3030/api/categories/"); console.log("You can send a contact-us message at: http://localhost:3030/api/contact-us/"); console.log("Registration can be done at: http://localhost:3030/api/register/"); console.log("Login can be done at: http://localhost:3030/api/login/"); console.log("The registration/login is done via JWT technique."); console.log("To GET/POST/PUT categories you must be logged in."); console.log("To DELETE categories you must be an admin."); console.log("Full documentation: https://www.npmjs.com/package/northwind-rest-api"); } module.exports = displayHelp;