bitapi

command module
v0.0.0-...-176a01d Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2017 License: MIT Imports: 2 Imported by: 0

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": "BobAndAllThingsBob@Bob.com",
  "password": "Boberson"
}

GET /socket Pretty self explanitory. Requires auth atm.

POST /session

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

Returns:

{"token" : "<sessionToken>"}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lib

Jump to

Keyboard shortcuts

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