Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 547 Bytes

infrastructure.md

File metadata and controls

24 lines (18 loc) · 547 Bytes
title description masthead
Using Maki for Infrastructure Projects
Quickly build APIs and services!
false

Maki makes a pretty darn good™ server for REST APIs. By creating Resources for each type of "object" in your infrastructure, you can spin up an API pretty quickly.

var Maki = require('maki');
var app = new Maki();

app.define('Item', {
  attributes: {
    name: String
  }
});

app.start();

You can view your newly created app's API at https://localhost:9200/api.

Add resources as per your desire. That's it!