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