https://github.com/tombuildsstuff/swift-on-the-server
Associated Repository for the talk "Swift on the Server"
https://github.com/tombuildsstuff/swift-on-the-server
Last synced: 6 months ago
JSON representation
Associated Repository for the talk "Swift on the Server"
- Host: GitHub
- URL: https://github.com/tombuildsstuff/swift-on-the-server
- Owner: tombuildsstuff
- License: mit
- Created: 2016-11-15T20:27:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-15T20:33:40.000Z (over 9 years ago)
- Last Synced: 2025-02-07T14:45:34.403Z (over 1 year ago)
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
Hello.
This Repository contains resources and projects used in the Swift on the Server talk given at Build Stuff.
Each branch corresponds to a section of the talk:
1 - Hello World
2 - Returning JSON
3 - Parsing out of / Inserting into MySql
To run this - you'll want a MySql server with the following schema:
```
CREATE TABLE towns
(
id INT(11) PRIMARY KEY NOT NULL AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
country VARCHAR(100) NOT NULL
);
```
This repository is simply extending the default Vapor Web Application Template generated by:
```
vapor new
```
You can build this via:
```
vapor build
```
And run it via:
```
vapor run
```
Licence - MIT
Any questions please reach out via Github/Twitter - @tombuildsstuff.