Skip to content

kyledetella/third-party-js-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Third Party JS Boilerplate

Installation

npm i

Run

To run the server and watch both client and server-side js files:

npm start

Structure

├── host-public
│   ├── index.html
│   └── js
│       └── host-app.js
├── iframe-public
│   ├── index.html
│   └── js
│       └── iframe-app.js
├── index.js
├── package.json
├── routers
│   ├── assets.js
│   └── host.js
└── server.js

Public Apis

Client

The client side javascript for both the host and iframe apps are setup to use browserify.

// For example:
var myModule = require('path/to/my/module');

myModule.isAGreatModule();

Pages

  • HOST - http://localhost:3031
  • IFRAME - http://localhost:3032/assets

About

iFrames!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published