https://github.com/tombuildsstuff/planes
https://github.com/tombuildsstuff/planes
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tombuildsstuff/planes
- Owner: tombuildsstuff
- Created: 2021-03-10T12:21:48.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-06T14:25:24.000Z (about 5 years ago)
- Last Synced: 2024-11-03T08:52:10.956Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Planes
Hello.
The following routes exist:
* '/airports'
* '/airports/{code}'
* '/routes'
* '/routes/{originCode}/{destinationCode}'
Each API is a GET request and returns either a 200 OK with JSON, or a 400 Bad Request.
### How do I run this?
```shell
git clone github.com/tombuildsstuff/planes
go build . && ./planes
```
Then check `http://localhost:2021`.
### What is this repo?
Wanderlust, I guess. But it's handy having an API kicking around in case you need to demo something.
### Is there a licence?
MIT, I guess.