maxious / alexandria

Alexandria - Basic Content Store API in node.js on postgres JSONB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

= Alexandria - Basic Content Store API in node.js on postgres JSONB =

Why a content store? https://gdstechnology.blog.gov.uk/2014/08/27/taking-another-look-at-gov-uks-disaster-recovery/

=== Installing === npm install node db.js # to create/wipe database tables

=== Running === node app.js curl http://localhost:3068/content/path-on-gov-uk -X PUT
-H 'Content-type: application/json; charset=utf-8'
-d @example-input.json

=== Testing === npm install -g mocha mocha -R nyan

=== Features ===

=== Roadmap === Content generation/indexing should be asyncronous, maybe seperate: throw in some https://github.com/JustinTulloss/zeromq.node for asynchronous queues as required Routing should be seperate: https://github.com/alphagov/router https://github.com/alphagov/router-api

About

Alexandria - Basic Content Store API in node.js on postgres JSONB


Languages

Language:JavaScript 96.2%Language:Shell 3.8%