okra

command module
v0.0.0-...-78bb20d Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

README

An OKR app to manage and facilitate your company's objectives and key results between team members.

##Dependencies

Data Stores

  • MongoDB

Installation/Set up

  1. Install MongoDB.

  2. In your project directory, run

go get github.com/dmonay/okra

Tests and Benchmarks

NOTE: No tests as of yet. To be added.

To run tests, run

go test

To run benchmarks, run

go test -check.b

Documentation

  1. Start the server:
go run server.go server
Create your organization
POST /create/organization

Sample Request Body

NOTE: Must pass in a parameter for the organization.

{
"organization":"DopeStartup"
}

Sample Response Body

{
   "You have successfully created an organization"
}
Add an OKR tree to the organization
POST /create/tree/:organization

Sample Request Body

NOTE: Must pass in a parameter for the timeframe. One of "annual" or "monthly".

{
"timeframe":"weekly"
}

Sample Response Body

{
   "You have successfully created a tree with the annual timeframe for the DopeStartup organization"
}
Add or update mission in your tree
POST /update/mission/:organization

Sample Request Body

NOTE: Must pass in a parameter for the mission.

{
"mission":"To thrive amidst enemies"
}

Sample Response Body

{
   "You have successfully added a mission"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/codegangsta/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package cli provides a minimal framework for creating and organizing command line Go applications.
_workspace/src/github.com/julienschmidt/httprouter
Package httprouter is a trie based high performance HTTP request router.
Package httprouter is a trie based high performance HTTP request router.
_workspace/src/gopkg.in/mgo.v2
Package mgo offers a rich MongoDB driver for Go.
Package mgo offers a rich MongoDB driver for Go.
_workspace/src/gopkg.in/mgo.v2/bson
Package bson is an implementation of the BSON specification for Go: http://bsonspec.org It was created as part of the mgo MongoDB driver for Go, but is standalone and may be used on its own without the driver.
Package bson is an implementation of the BSON specification for Go: http://bsonspec.org It was created as part of the mgo MongoDB driver for Go, but is standalone and may be used on its own without the driver.
_workspace/src/gopkg.in/mgo.v2/internal/scram
Pacakage scram implements a SCRAM-{SHA-1,etc} client per RFC5802.
Pacakage scram implements a SCRAM-{SHA-1,etc} client per RFC5802.
_workspace/src/gopkg.in/mgo.v2/txn
The txn package implements support for multi-document transactions.
The txn package implements support for multi-document transactions.
_workspace/src/gopkg.in/yaml.v1
Package yaml implements YAML support for the Go language.
Package yaml implements YAML support for the Go language.

Jump to

Keyboard shortcuts

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