Creating a Gradle project is similar to how we created the project in Chapter 4, Developing your Serverless Application. The following step is the only difference:
Once the Gradle project is ready, we will need Kotlin's dependency on Node.js and express.js support. From the IDE's terminal, perform the following steps:
- Currently, the project is simple a Gradle project; it has no information regarding Node.js-related files. We need to make the project compatible with Node.js by doing the following:
npm init
- Install the Kotlin dependency:
npm install kotlin --save
- To create the API, we need ExpressJS. Add the ExpressJS ...