aweary / microbe.js

A small, easy to use Node.js framework written in ES6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement sub apps

aweary opened this issue · comments

Users should be able to create separate instances of microbe.js apps and unite them based on a route. For example:

var adminApp = microbe()
var userApp = microbe()
var app = microbe()

app.use('/admin', adminApp)
app.use('/user', userApp)