Creating simple Routes using Express.JS and checking the API using POSTMAN
Here you can see I have used express to create a simple webserver and create API routes which aren't doing anything specific but this is a good way to check if they are working using POSTMAN or Thunder Client in Visual Studio. Also, I have used a middleware to console log the id and the hostname but this will go into indefinite loop since I haven't used the next method in the above snippet.