Skip to content

WarpWorks/warpjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,372 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WarpJS

Full stack JavaScript environment including WarpWorks code generators for MongoDB, NodeJS and Bootstrap

Releases Notes

See RELEASE.md.

Usage

npm install --save @warp-works/warpjs

To include WarpJS as part of your server, you would do something like this.

const express = require('express');
const warpjs = require('@warp-works/warpjs');

const app = express();

const staticUrlPath = '/some-static';
const warpjsBaseUrl = '/';

app.use(staticUrlPath, express.static(warpjs.publicFolder));
app.use(warpjsBaseUrl, warpjs.app(warpjsBaseUrl, staticUrlPath));

app.listen(process.env.PORT || 8080)

At the moment, don't mount WarpJS under another path than /. See the bug.

Configuration

You can configure the different path by creating .warp-works-warpjsrc. See the development configuration file.

About

WarpWorks Cartridge for MongoDB, NodeJS and Bootstrap

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors