Skip to content

off-by-some/bitAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

API for bit.dj

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published