1.0.2 • Published 7 years ago
geschwind v1.0.2
Geschwind
Framework for rapidly developing express apps by creating the pipeline, routes and in some cases controller functions for you.
Stop writing the same unit tests over and over again for routes and express pipelines by using the routes.json.
Prerequisites
What things you need to install the software and how to install them
- project/
-- src/
-- specs/
-- index.js
Getting Started
# Run this in the project folder
npm install geschwind --save
touch routes.json
routes.json
{
"get": [{
"path": "/resources",
"action": "{some-module-name}.getAllResources"
}
],
"post": [{
"path": "/resourcesh",
"action": "{some-module-name}.createResource"
}
]
}
index.js
require('../geschwind')(__dirname);
# PORT is an environment variable that geschwind requires to run
PORT=8080 npm start
Built With
- Express - Web framework for node
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Authors
- Cody Hutchens - Initial work - Humana Digital Experience Center
- Rohit Wason - Initial work - Humana Digital Experience Center
License
This project is licensed under the MIT License - see the LICENSE.md file for details