friends_management

command module
v0.0.0-...-9e3f5d0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

README

Friends Management

Friends Management API

To generate APIs using Swagger

  1. To install Swagger: alias swagger='docker run --rm -e GOPATH=${GOPATH}:/go -v $(pwd):$(pwd) -w $(pwd) -u $(id -u):$(id -u) stratoscale/swagger:v1.0.21'

  2. To validate Swagger yml file: swagger validate swagger/swagger.yaml

  3. To generate Go Server components and docs: swagger generate server -A friends-management -f swagger/swagger.yaml

Installation

Using Docker Compose To Setup the images:

  • $ docker-compose build

To Start the development server:

  • $ docker-compose up

To stop the development server:

  • $ docker-compose stop

Stop Docker development server and remove containers:

  • $ docker-compose down

API Documentation

http://localhost:8888/api/v1/docs

Dependancies/Technologies Used

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package restapi Friends Management API definitions
Package restapi Friends Management API definitions

Jump to

Keyboard shortcuts

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