brascene / Ant-Crud

Basic server CRUD app with Swift and Vapor with PostgreSQL driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ant-Crud

Basic server CRUD app with Swift and Vapor with PostgreSQL driver

#Routes

The base URL = https://cryptic-waters-45764.herokuapp.com/

Create new ant

/ants with json body e.g. { "age": 62, "name": "alen", "position": "mobile" }

Update ant by Id

PUT request, /ant/Id Use the same json as above

Get ant by Id

/ant/Id

Get all ants

/all_ants

Delete ant by Id

DELETE request, /ant/Id

MySQL

Documentation Slack Team MIT License Continuous Integration Build Status Swift 3.1

About

Basic server CRUD app with Swift and Vapor with PostgreSQL driver

License:MIT License


Languages

Language:Swift 100.0%