Slack icon GitHub icon Swift Forum icon

Overview

The kitura create command is a command-line tool that provides a guided question-and-answer way to create Kitura Swift applications.

The generator supports two different ways to generate an application: scaffolding a starter and generating a CRUD application.

Scaffolding a starter

A scaffolded starter is an application containing boilerplate code but little or no application logic. You can use this as a base for your application by modifying the generated files with your application logic.

You can select from a number of different options presented by the generator to define extra content to be included in the resulting application. For example, these include things like adding the boilerplate for serving static files and creating connections to databases.

Generating a CRUD application

A CRUD (Create-Read-Update-Delete) application is one where you provide a description of a data model and the generator creates application code for a REST webservice that will provide endpoints to perform create, read, update and delete operations for data matching that data model. In the current version of the generator, most of the generated CRUD application is not open for modification or extension—expect this to change in a future version to allow for more flexibility.

Next Steps

Go back to the kitura create index page.