generator-ktor

1.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i generator-ktor

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

41.2 kB

Total Files

17

Last publish

Collaborators

  • kotlin