Skip to content

Basic server CRUD app with Swift and Vapor with PostgreSQL driver

License

Notifications You must be signed in to change notification settings

brascene/Ant-Crud

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages