This code is a direct copy of the code found on the Express.js site under Getting Started. I just followed installing and hello world from there to get a basic server up and running.
(index.js file
)
package patterns | |
interface CarService { | |
fun doService() | |
} | |
interface CarServiceDecorator : CarService | |
class BasicCarService : CarService { | |
override fun doService() = println("Doing basic checkup ... DONE") |
This code is a direct copy of the code found on the Express.js site under Getting Started. I just followed installing and hello world from there to get a basic server up and running.
(index.js file
)