https://packagist.org/packages/swift-api/swift-starter
composer create-project swift-api/swift-starter project_name
Make sure to fill out login detail to a database in /etc/config/database.yaml
connection:
driver: mysqli
host: localhost
username: root
password: ''
database: myapp_db
port: 3306
prefix: prefix_
Init the database by running
php bin/console database:entities:update
Fill out /etc/config/app.yaml. Make sure to add the right baseurl, otherwise routing won't work.
Visit your site site app-domain/hello-world and you should get the following response
{
"message": "Hey legend! Let's get started at https://henrivantsant.github.io/swift-docs/"
}
From here you can rename the references from MyApp to your own namespace and get going.