Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cocoaheadsru/server
This is server side api for CocoaHeads Russia app. It was built with Swift and backed by Vapor.
https://github.com/cocoaheadsru/server
cocoaheads-russia code-generation devops jenkins-pipeline mysql server-side-swift sourcery swift swiftlint tdd vapor
Last synced: 4 months ago
JSON representation
This is server side api for CocoaHeads Russia app. It was built with Swift and backed by Vapor.
- Host: GitHub
- URL: https://github.com/cocoaheadsru/server
- Owner: cocoaheadsru
- License: mit
- Created: 2017-10-11T18:11:42.000Z (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2018-03-12T15:20:32.000Z (almost 7 years ago)
- Last Synced: 2024-09-30T18:06:04.001Z (4 months ago)
- Topics: cocoaheads-russia, code-generation, devops, jenkins-pipeline, mysql, server-side-swift, sourcery, swift, swiftlint, tdd, vapor
- Language: Swift
- Homepage:
- Size: 1.42 MB
- Stars: 46
- Watchers: 12
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# CocoaHeads Server
This a server side api for CocoaHeads Russia app. It was built with Swift and backed by Vapor.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
What things you need to install the software and how to install them. At first verify swift installation:
```
eval "$(curl -sL check.vapor.sh)"
```### Installing
A step by step series of examples that tell you have to get a development env running
#### Add Homebrew Tap
```
brew tap vapor/homebrew-tap
brew update
```#### Install Vapor
```
brew install vapor
```#### Install MySQL
```
brew install mysql
```
Start mysql server```
mysql.server start```
Create database for development and tests```
mysql -u root
CREATE DATABASE cocoaheads;
CREATE DATABASE cocoaheads_test;
CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';
GRANT ALL PRIVILEGES ON cocoaheads_test.* TO 'test'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
```#### Create project
```
vapor new server --template=cocoaheadsru/server
```#### Build project
Change directory
```
cd server
```
Create xcode project```
vapor xcode
```