Skip to content

JoshWillik/ghost-as-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ghost as Middleware

Installation

$ npm install ghost-as-middleware

Usage

var app = require( 'express' )()
var ghost = require( 'ghost-as-middleware' )
app.get( '/', function( req, res ){
    res.send( 'this is my app!' )
})

app.use( '/blog', ghost() )
app.listen( 8888 )

Note

You'll need to adjust the settings for the css and js paths to be correct

About

Proof of concept that ghost can work as middleware with no modifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published