https://github.com/ziyasal/volvox-express
Express.js provider for volvox.js
https://github.com/ziyasal/volvox-express
Last synced: about 2 months ago
JSON representation
Express.js provider for volvox.js
- Host: GitHub
- URL: https://github.com/ziyasal/volvox-express
- Owner: ziyasal
- License: mit
- Created: 2016-01-23T17:28:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-07T13:53:40.000Z (almost 9 years ago)
- Last Synced: 2025-03-20T05:57:36.354Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# volvox-express
 Express.js provider for volvox.js Microservice framework
[](https://travis-ci.org/volvoxjs/volvox-express) [](https://coveralls.io/github/volvoxjs/volvox-express?branch=master)Preview
==================**Sample code using `Consul`**
```js
import Volvox from 'volvox-core';
import vconsul from 'volvox-consul';
import vexpress from 'volvox-express';import express from 'express'
async function main() {
let server = express();server.get('/customers', (req, res) => {
res.send({
customerName: "Test customer",
customerId: 666
});
});let volvox = new Volvox(vconsul(), vexpress());
await volvox.bootstrap(server, "customers", "v1");
}main();
```