command
module
Version:
v0.0.0-...-dbfed22
Opens a new window with list of versions in this module.
Published: Sep 16, 2014
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
matic
Autogenerate clients for web-apps
spec
user workflow
- user needs to write server code
- user needs to compile client
- user needs to compile api blueprint
server
- server needs to use middleware-server package
- middleware needs to use context responders
compiling workflow
- index registered routes
- index middlewares for each route
- index responders for each middleware
- index expected payload for each middleware
- index expected url query params for each middleware
- create client method for each route
client requirements
-
client needs to be configured with http client
-
client needs to be configured with global headers
-
client needs to be configured with global url query params
-
client methods need to return error
-
client methods need to return http status code
-
client methods need to return http response body as string
-
client methods need to return http response body as read closer
usage
$ make
$ clean
$ test
$ make build-fixture
$ make clean-fixture
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
fixture
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.