Skip to content

aperezg/monster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monster API

The Monster API, is a simple CRUD API for development purpose, this API can be used to create a demo projects, katas, etc...

The API request/response is based on JSON:API specification.

How can I use it?

Install

$ go get -u github.com/aperezg/monster/cmd/monster

Usage

Launch server with predefined data

$ monster --withData

Launch server with custom host and port

$ monster --port 8080 --host monster.io

Endpoints

Create a new monster

POST /monsters

Update a monster

PATCH /monsters/{monster_id}

Delete a monster

DELETE /monsters/{monster_id}

Fetch all monsters

GET /monsters

Fetch a monster by ID

GET /monsters/{monster_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

About

A sample API for development purpose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages