objy-expose

0.0.1 • Public • Published

OBJY Expose - Build a Platform

A JavaScript Framework for building custom platforms on Node.

What's a platform?

A (digital) platform is a system that brings together data, processes and users in order to archieve a common goal. Think eBay, Facebook, Slack, etc. Platforms, from a technical perspective must be able to run on any modern infrastructure, must be taylored for the use case and offer all the standard features, users expect (access control, forgot password, etc.)

Installing

NPM

npm install objy-expose

Quick Example

// Include OBJY Expose (Node.js)
const Expose = require('objy-expose');
const OBJY = require('objy');

// define one or more OBJY object types
OBJY.define({
    authable: true,
    name: "user",
    pluralName: "users",
    storage: new Mongo(OBJY).connect('mongodb://localhost', function(data) { }, function(data) { })
})

// Initialize REST Interface
Expose.REST({
    port: 80,
    redisCon: {
        port: 6379,
        host: "localhost"
    }
}).run();

How does it work?

Expose is built on top of OBJY. Therefore ist uses the "everything is a dynamic, behaviour-driven object" approach. This means that everyth

Package Sidebar

Install

npm i objy-expose

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

57.8 kB

Total Files

8

Last publish

Collaborators

  • marcoboelling