Skip to content

elos/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elos Server Build Status

Start

Requires mongod.

    go get github.com/elos/server
    cd github.com/elos/server
    go run server.go
Test
    ginkgo -r

See more

Create a user

POST /v1/users

Websocket
connection = new WebSocket("ws://localhost:8000/v1/authenticate", "[id]-[key]")
connection.onmessage = function(event) { console.log(JSON.parse(event.data)); }
msg = {
    action: "POST"
    data: {
        event: {
            name: "This is a new event"
        }
    }
}
connection.send(JSON.stringify(msg))

DONT USE PACKAGES AS INTERFACES! INJECT DEPENDENCIES!

About

Main entry point for starting the elos stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages