Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

BandwidthOnDemand/sos-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Open Social Server

This project contains a simple and incomplete implementation of the Open Social API. It can be used to mock or imitate a 'real' Open Social Server.

It is written in Scala using Scalatra.

Running the server

mvn jetty:run

Direct your browser to http://localhost:8081.

Continues compilation

mvn scala:cc

Optional: Install the Zinc server for faster compilation brew install zinc; zinc -start.

REST interface

POST: /persons                      // adds a person
POST: /persons/[uid]/groups         // adds a group to a person with uid
DELETE: /persons/[uid]              // deletes a person with uid
DELETE: /persons/[uid]/groups/[gid] // deletes a group with gid for person with uid