product-api

command module
v0.0.0-...-17d54ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 15 Imported by: 0

README

Product API

Go based Product API built using the Gorilla Toolkit https://www.gorillatoolkit.org/

Documentation

OpenAPI documentation can be found in the swagger.yaml file You can see well organized documentation on http://localhost:9090/docs after running this product-api.

Running

The applicaiton can be run with go run

➜ go run main.go
products-api 2020/02/16 16:15:11 Starting server on port 9090

curl localhost:9090/products

curl -v localhost:9090/1 -XPUT -d '{"id":1, "name":"tea", "description":"a nice cup of tea"}'`, `curl -v localhost:9090 -X POST -d '{"name": "Water"}'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package classification of Product API
Package classification of Product API
sdk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL