Categorygithub.com/pholey/bitapi
modulepackage
0.0.0-20170122100348-176a01df21df
Repository: https://github.com/pholey/bitapi.git
Documentation: pkg.go.dev

# README

API for bit.dj

Getting started:

You will need postgres as well as redis pre-installed with no special configurations

Install Deps: $ ./script/bootstrap

Provision database: $ ./script/recycle

Test it: $ ./script/test

Build it: $ go build

Run it: ./bitAPI

Resources

POST /user

{
  "username": "Bob",
  "email": "[email protected]",
  "password": "Boberson"
}

GET /socket Pretty self explanitory. Requires auth atm.

POST /session

{
  "username": "Bob",
  "password": "Boberson"
}

Returns:

{"token" : "<sessionToken>"}

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author