JSPM

  • Created
  • Published
  • Downloads 793
  • Score
    100M100P100Q93625F
  • License SEE LICENSE IN LICENSE.txt

Profound.js Framework and Server

Package Exports

  • profoundjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (profoundjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Profound.js greatly simplifies the development of full-stack database-driven applications. It helps in both creating new applications and modernizing legacy code.

The quickest way to explore Profound.js is to visit https://NodeRun.com, the online IDE and runtime environment for Node.

For a high-level overview of Profound.js, see The Secret to Building Great Node.js Apps Unveiled, or visit http://www.profoundjs.com.

Installation

To install Profound.js, create a new directory and issue the command "npm install profoundjs" as follows:

mkdir profoundjs
cd profoundjs
npm install profoundjs

Follow the npm install prompts to complete the installation.

When installing Profound.js on IBM i, you will also be prompted to install Profound.js Connector IBM i ILE components. These components are required for many of the features provided by Profound.js.

Usage

The Profound.js installation process will create a start.js file in your directory. It will look something like this:

#!/usr/bin/env node

// Load Profound.js
var profoundjs = require("profoundjs");

// Apply configuration
var config = require("./config.js");
profoundjs.applyConfig(config);

// Start Profound.js server
var isWorker = profoundjs.server.listen();
if (isWorker) {

  // This is the top-level Express Application.
  // Custom Express coding can be added here.
  var express = profoundjs.server.express;
  var app = profoundjs.server.app;
  app.use(express.json());  // default to use JSON-encoded post data
 
}

Using Node, the server can be started as follows:

node start.js

Or, it can be started using the STRTCPSVR command on IBM i.

For more detailed information on how to install and use Profound.js, visit the Profound.js Documentation site.