1.0.2 • Published 3 years ago
generator-ktor v1.0.2
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 yoWith Node.js and Yeoman installed, you can run this command to install the Ktor generator:
npm install -g generator-ktorUsage
To generate a new Ktor project, create a new directory and go into it:
mkdir ktor-sample
cd ktor-sampleThen, you can generate a project:
yo ktorIt 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.