Skip to content

CRUD operations using GO, PostgreSQL, Gorilla MUX router and Docker

License

Notifications You must be signed in to change notification settings

abhisek1985/go-mux-CRUD

Repository files navigation

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=}

About

CRUD operations using GO, PostgreSQL, Gorilla MUX router and Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published