Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marekpridal/vapordemo
https://github.com/marekpridal/vapordemo
crud database demo fluent json-body leaf mysql server swift swift4 vapor
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/marekpridal/vapordemo
- Owner: marekpridal
- Created: 2019-01-22T16:30:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-27T15:09:06.000Z (over 3 years ago)
- Last Synced: 2023-11-05T13:57:23.782Z (about 1 year ago)
- Topics: crud, database, demo, fluent, json-body, leaf, mysql, server, swift, swift4, vapor
- Language: Swift
- Homepage: http://www.vapordemo.marekpridal.eu
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VaporDemo
Demo of using Swift for server appGET
`/requestDebugDescription`
`/exchanges`
`/exchangeRate`
POST
`/exchange`
JSON BODY example
```
{
"country_code":"EUR",
"value":1,
"timestamp":null,
"priority":1
}
```PUT
`/updateExchangeRate`
JSON BODY example
```
{
"country_code":"CZK",
"value":25.644444,
"timestamp":null,
"priority":1
}
```DELETE
`/deleteExchangeRate`
JSON BODY example
```
{
"country_code":"CZK",
"value":25.644444,
"timestamp":null,
"priority":1
}
```