1.0.2 • Published 2 years ago

generator-ktor v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

A Yeoman generator that brings the capability to generate server Ktor applications.

Installation

First, you need to have Node.js and npm installed. The generator is compatible with Node.js versions above 14.0.0.

To install Yeoman globally on your system, execute the following command:

npm install -g yo

With Node.js and Yeoman installed, you can run this command to install the Ktor generator:

npm install -g generator-ktor

Usage

To generate a new Ktor project, create a new directory and go into it:

mkdir ktor-sample
cd ktor-sample

Then, you can generate a project:

yo ktor

It will prompt you for a series of inputs such as a project name, a build system used for a project, a set of installed plugins, and so on.

Finally, you can run the generated project with the npm start command.