aweary / aweary/microbe.js

Implement sub apps

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
enhancement under consideration
Dominant language
JavaScript
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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

``` js

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

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

```

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the app-construction and route-registration entry points, then trace how `app.use` handles mounted paths. Done means separate `microbe()` instances can be mounted under `/admin` and `/user` and route requests to the corresponding sub-app.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.