This starter application is a working illustration of a basic microservice that incorporates the Express web framework to provide a landing page and two endpoints.
A microservice is an individual component of an application that follows the microservice architecture - an architectural style that structures an application as a collection of loosely coupled services, each of which implement a business capability. The microservice exposes a RESTful API matching a Swagger definition.
This Node.js microservice has these endpoints:- /health - returns a simple {"status":"UP"} json response if the app is running
- /swagger/api-docs - standard Swagger UI to exercise all the endpoints
Feel free to extend this application for your own use case.