Skip to content

juniorconsulting/smeagol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sméagol

Sméagol is the backend for Junior Consultings service database. The goal is to provide a REST API for service credentials/information for the company as a whole and on a per project basis.

A service is something like Heroku, Mailchimp, Surveymonkey, Mandrill, etc.

The project is implemented as a microservice-inspired, RESTful API served over HTTP(S). It is implemented in Clojure. It uses jrc-auth for authentication.

Clojure resources

Brave Clojure is a great resource for learning Clojure (and Emacs).

Architecture

A service looks something like this:

{
    "id": "7af472ee-054e-4986-81a5-64163b4be67b",
    "password": "derp", // TODO: not really
    "projectids": [ // Ids of the projects that this service is associated with.
        2           // If empty, the service is assumed to be available to everyone
    ],
    "title": "Google Drive",
    "userid": 1, // jrc-auth userid
    "username": "oyvindrobertsen"
}

Technology stack

Database

RethinkDB

HTTP / Routing / JSON

Dependencies

Setup

  • Clone repo
  • Start rethinkdb
  • lein ring server-headless

About

Backend for service database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published