Skip to content

Conversation

@brianhanifin
Copy link
Contributor

No description provided.

bewest and others added 14 commits July 17, 2014 14:18
Rename a few things here and there to help clarify the situation.

This change introduces use of express.Router( ), which provides the routing
functions of express without the full app.
This also shows an experiment observing the interaction betwen express( ) and
express.Router( ).
There are a few reasons for doing this:

Using express.Router( ) allows introspecting existing routes.
As a REST application, our content payloads should include URLs, links to other
resources available from our API.  As a bonus feature, it's often nice for a
meta page to describe the links, status, and version available from this
particular API.  By far, the easiest way to implement this is to introspect the
existing routes.

Separating the code makes testing easier.
This lays the ground work for breaking apart the code into smaller, more
testable modules.
This avoids re-using the same variable name in different contexts.
Small hack in order to start separating things out a bit more.
Make as few adjustments as needed to get entries api into it's own module.
Also remove notion of common configured middleware.
brianhanifin added a commit that referenced this pull request Jul 18, 2014
@brianhanifin brianhanifin merged commit b41f536 into feature/settings-ui Jul 18, 2014
sulkaharo pushed a commit that referenced this pull request Aug 28, 2019
cominixo pushed a commit to cominixo/cgm-remote-monitor that referenced this pull request Mar 1, 2021
…ack_issue#43

Create python script to update stack on all apps nightscout#43
psonnera pushed a commit to psonnera/cgm-remote-monitor that referenced this pull request Oct 18, 2025
feat: Display current month's cost on AI evaluation tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants