An open API service indexing awesome lists of open source software.

https://github.com/vapor/template

Used by Vapor Toolbox’s new project command
https://github.com/vapor/template

server-side-swift swift template vapor

Last synced: 4 months ago
JSON representation

Used by Vapor Toolbox’s new project command

Awesome Lists containing this project

README

          


Vapor Template




Documentation
Team Chat
MIT License
Continuous Integration
Swift 6.0+

The official Vapor template, used by the [Vapor Toolbox](https://github.com/vapor/toolbox) to generate new projects.

## Overview

After having installed the [Vapor Toolbox](https://docs.vapor.codes/install/macos/#install-toolbox), you can use the following command in your terminal, replacing `` with your desired project name, to create a new project using this template:

```sh
vapor new
```

This will create a new folder in the current directory containing the project.
You can then move into the project directory:

```sh
cd
```

To build and run the project, see the [Getting Started](https://docs.vapor.codes/getting-started/hello-world/#build-run) guide.