Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 1.44 KB

README.md

File metadata and controls

53 lines (44 loc) · 1.44 KB

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