NAV
http node.js

Why Create?

•Subscription   •Marketplace  •Pay-As-You-Go
•Micropayments  •Betting      •Donation
•Crowdfunding   •Payments     •Name Your Price
•Renting        •Investment   •Loan

Nectr-cli is a financial code generator for Node.js. It’s a simple way to build a financial app from scratch within moments. The cli uses yeoman to generate the code for your web app and comes with a template site and server.

You can start out with different templates for a marketplace, subscription service, betting, etc.

NectrCreate is our API that we’ve paired with the cli. It allows you to easily deploy any apps you’ve created with Nectr-cli or to quickly add monetization to your existing website or mobile app.

What Twillio allows you to do for bulk cloud messaging, NectrCreate allows you to do for business transactions.

Monetization As A Service (MaaS)

For most individuals and businesses there’s already a platform out there that handles most of your business needs. Like Kickstarter for creators, Amazon for sellers, and Stripe for Payments.

Now what if you want to BE the platform? What if you want to cut out the middleman and build your own internal revenue generator? What if you want to cater your business to different regional tastes, customs, or laws? That’s what our framework is built to solve.

For example, instead of hand picking who to send personalized emails you could build an internal system that sends catered messages based on customer info.

If you know your customers are fans of certain sports you could send a themed email based on the league schedule or game results with varying amounts of sales discounts, automatically.

New season starting? Big rivalry game win? Send them an email with a discount on their team’s gear from your store, like clockwork.

Using Nectr-cli and NectrCreate you can build a business that is not only more efficient but smarter too.

Getting Started

Intro

Our API follows one simple mantra “Everything is a pool”.

Using this model you can develop financial services that are currency agnostic and work anywhere your customers go.

Our rules engine allows you to tailor your business model to different customers. You no longer have to delay launching your service in different markets or segments to meet the cultural and commercial demands of those customers. You can quickly tap into new markets using simple and easy-to-use configurations.

Installing

<sudo> npm install -g nectr-cli

Nectr-cli uses NPM to make installation simple. Obviously make sure you have the latest version of Node.js and NPM installed. Enter this command into your terminal to start installing:

Create Project

nectr create

Once you’ve installed the cli, creating a new nectr project or adding a module is easy:

Setup

yo nectr

Nectr-cli also uses Yeoman to generate code for the different monetization templates and to install any dependencies. To set this up for your new project or in an existing project just enter:

Run

nectr serve

Once everything is setup you can run the Nectr code as a new project or a just module. This code comes with all the API calls setup and ready to go. To run the code as the default project run:

API Endpoints

https://nectrtech.com/api/

Nectr-cli is similar to the Bitcoin cli. You can use Nectr-cli to experiment and make calls to our rules engine and then deploy your app using our API, NectrCreate. The main endpoint for NectrCreate is:

You may just be looking to make direct calls without having to change much of your existing code. Here is a complete list of endpoints for you to get started right away.

Method Endpoint Description
GET /my/pool/ Retrieves all pools for current user
GET /my/friends Retrieves all friends for current user
GET /my/cards Retrieves all linked money accounts for current user
GET /my/pool/:id Retrieves specified pool information for current user
POST /my/pool/:id Deposits funds into a pool
POST /my/pool/ Creates a new pool
DELETE /my/pool/:id Withdraws funds from a pool
DELETE /my/pool/:id Deactivates an existing pool
  {
    "id": "xyz123",
    "name": "Rainy Day Funds",
    "type": "personal",
    "amount": "6.23",
    "members": ["Me", "Lisa", "Bart"]
  }

Examples

Here’s a sample request and response for the current user with a specified pool:

GET https://nectrtech.com/api/my/pool/xyz123