Name: spife
Owner: npm
Description: :curry: :fork_and_knife: a jshttp based µframework :fork_and_knife: :spaghetti:
Created: 2016-01-16 03:02:17.0
Updated: 2018-05-23 15:00:07.0
Pushed: 2018-05-22 22:31:47.0
Size: 1578
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Welcome to Spife! It cuts like a knife, but scoops like a spoon!
Spife is a jshttp-based microframework with Opinions ™. Collects and curates the following packages:
reverse
,pg
pg-db-session
,ormnomnom
,numbat-emitter
,restify-monitor
,bole
Full docs are available here.
:package: denotes a link to an external package that has been bundled with Spife.
require('@npm/spife') ? createServer
require('@npm/spife/middleware/transaction') ? TransactionMiddleware
require('@npm/spife/middleware/database') ? DatabaseMiddleware
require('@npm/spife/middleware/monitor') ? MonitorMiddleware
require('@npm/spife/middleware/metrics') ? MetricsMiddleware
require('@npm/spife/middleware/logging') ? LoggingMiddleware
require('@npm/spife/middleware/common') ? CommonMiddleware
require('@npm/spife/db/session') ? pg-db-session
require('@npm/spife/db/connection') ? pg
require('@npm/spife/db/orm') ? ormnomnom
require('@npm/spife/logging') ? bole
require('@npm/spife/joi') ? joi
To develop locally, clone this repository, and run npm install
in a shell
in the repository directory. From there you can:
npm test
: Run both the linter and the code tests.npm run lint
: Run just the linter.npm run cov:test
: Run the code tests with code coverage enabled.npm run cov:html
: Run the code tests and output a coverage directory.
serve the directory at http://localhost:60888
.ISC