0.0.1-beta.4 • Published 8 years ago
node-flarum v0.0.1-beta.4
node-flarum
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)
0.0.1-beta.4
8 years ago
0.0.1-beta.3
8 years ago
0.0.1-beta.2
8 years ago
0.0.1-beta.1
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago