0.0.12 • Published 8 years ago

decentraleyes-posts v0.0.12

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

decentraleyes-posts

Decentraleyes.net Posts service reference implementation

Architecture

Every service in Decentraleyes.net is shipped as a standalone module to allow SysOps the freedom to:

  1. Determine whether or not they use each module;
  2. Determine when/if they upgrade them; and
  3. Change or even entirely rewrite them from scratch.

Each service module implements an interface made of public methods and routes. If the public interface is maintained, Decentraleyes.net doesn't care what amount of actual work is performed within the service as long as it succeeds and generates a result expected by the user per the documented interface contract of the service.

For example, a SysOp might not want to use MongoDB or might even want to use a database they created. Such a user could create a new service and write the logic needed to use their custom database while providing service as expected through Decentraleyes.net including beacons, notifications and so on.

service-options.json

soon

Model

created

Date and time at which the post was created.

modified

Date and time at which the last modification to the post occurred.

author

The ID of the user that created the post.

status 'draft','publish', default: 'draft'

The current publication status of the post (draft or publish). Drafts are only shown to the user that created them.

privacy

Sets the privacy options for the post.

title

The title of the post.

summary

The summary/status update about the post.

content

The content of the post or article. Can be very long.

contentRating

The content rating (everyone, teen, mature, adult) and list of reasons for having that rating.

citations

An array of citations/links to other posts and Internet links from this post.

attachments

An array of attachments included with this post. These are intended to be offered as downloads.

userFeedback

The overall rating and array of individual ratings for the post.

Public Methods

soon

Public Routes

soon

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago