Skip to content

influencemapping/oli2backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oligrapher 2 Stand-alone backend

This application provides a minimalistic backend for the storage and management of Oligrapher 2 network storystelling pieces. It is intended as a minimalistic server which stores a packet of JSON with very little introspection, but manage titles and authorized users.

Installation

$ npm install
$ bower install

The following environment variables are required to be set:

Run in development via:

$ node src/server.js

API

  • GET /auth/facebook - begin oauth authorization
  • GET /auth/logout - end a user session
  • GET /api/session - get the current session
  • GET /api/maps - list available maps
  • GET /api/maps/:id - get a full map
  • POST /api/maps - create a new map (need to be signed in)
  • POST /api/maps/:id - update a map (need to be creator)

For POST requests, the title property is required.

About

Backend for the stand-alone Oligrapher version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published