/gopherapi

The Gopher API, is a simple CRUD API for formative purpose, we're building it while writing the posts of the blog

Primary LanguageGoMIT LicenseMIT

Gopher API

The Gopher API, is a simple CRUD API for formative purpose, we're building it while writing the posts of the blog.

How can I use it?

Install

$ go get -u github.com/friendsofgo/gopherapi/cmd/gopherapi

Usage Launch server with predefined data

$ gopherapi --withData
The gopher server is on tap now: http://localhost:8080

Endpoints

Fetch all gophers

GET /gophers

Fetch a gopher by ID

GET /gophers/{gopher_id}

Contributing

If you think that you can improve with new endpoints, and functionallities the API feel free to contribute with this project with fork this repo and send your Pull Request.

License

MIT License, see LICENSE