go-mux-CRUD

command module
v0.0.0-...-94ea744 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 4 Imported by: 0

README

CRUD operations using:

  • GO
  • PostgreSQL
  • Gorilla MUX router
  • Docker
  • Custom migrations with golang-migrate
  • Basic Authentication
  • Unit testing
Requirements:
Build and start the services with:
$ docker-compose up --build
Merchant APIs:
  • Create merchant (/api/create/merchant)
  • Get all merchants (/api/merchants or /api/merchants?PageNum=&PageSize=)
  • Get merchant (/api/merchant/{id})
  • Update merchant (/api/update/merchant/{id})
  • Delete merchant (/api/delete/merchant/{id})
Team APIs:
  • Create team (/api/create/team)
  • Get all teams (/api/teams or /api/teams?PageNum=&PageSize=)
  • Get team (/api/team/{id})
  • Update team (/api/update/team/{id})
  • Delete team (/api/delete/team/{id})
  • Get teams per merchant (/api/teams/merchant/{merchant_id} or /api/teams/merchant/{merchant_id?PageNum=&PageSize=}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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