This package has been deprecated

Author message:

This project has been discontinued. Use the official Flarum at https://flarum.org/

node-flarum

0.0.1-beta.4 • Public • Published

node-flarum

Build Status GitHub version NPM version

A forum made out of Flarum's design forum with NodeJS

Installation

npm install node-flarum --save

Usage

HTTP

Using the http package required the following modules to be installed: connect & connect-hopeful-body-parser

var http = require('http');
var connect = require('connect');
var bodyParser = require('connect-hopeful-body-parser');
 
var flarum = require('./index');
 
var app = connect();
 
app.use(bodyParser());
app.use(flarum); // You can only have flarum in root path, otherwise won't work
 
http.createServer(app).listen(8080);

Express

var flarum = require('node-flarum');
 
var express = require('express');
var app = express();
 
// Other stuff
 
app.use('/forum', flarum) // This will execute flarum on the "/forum" path
app.use(flarum)           // This will execute flarum on the root path

Contributing

Whenever this forum is complete [•••], there will be a website here for the official NodeJS Flarum forum

Release History

  • v0.0.1 - NPM Package Information
  • v0.0.2 - Added Configuration Tweaks, fixed links and mongodb problems (Full Release Information)

Dependencies (12)

Dev Dependencies (4)

Package Sidebar

Install

npm i node-flarum

Weekly Downloads

0

Version

0.0.1-beta.4

License

ISC

Last publish

Collaborators

  • datitisev