After your first Hello World application in Vapor, let's do the same using Kitura CLI to create a similar Hello World application in Kitura.
Creating an app using Kitura CLI
Creating a hello world app from a default template
- First, create a new directory called helloWorld and change the directory to helloWorld:
# Step 1a: Create a new directory for your project
$ mkdir helloWorld
$ cd helloWorld
Kitura CLI will use the current directory's name to create your project and put all the files in the same directory.
- Next, use the kitura init command to create a new project from the default Kitura template:
# Step 1b: Create helloWorld app using the default Kitura template
$ kitura init
This step not only creates...