Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 701 Bytes

README.md

File metadata and controls

37 lines (34 loc) · 701 Bytes

Start
go run main.go

Config
config.json

Migration Databases
migrations/*

APIs
Get a hub: GET: http://localhost:5000/api/hubs/:hubID
Create a hub: POST: http://localhost:5000/api/hubs

Get a team: GET: http://localhost:5000/api/prodteams/:teamID
Create a team: POST: http://localhost:5000/api/prodteams
Team join hub: POST: http://localhost:5000/api/prodteams/:teamID/join-hub
payload: {"id": <hubID>}

Get a user: GET: http://localhost:5000/api/users/:userID
Create a user: POST: http://localhost:5000/api/prodteams/:teamID/users